dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
7 stars 0 forks source link

Optimize codegen for comparisons #198

Closed dplassgit closed 1 year ago

dplassgit commented 1 year ago

Specifically, imm/reg and imm/mem cannot be done, so it should be flipped. This should work via the "if not" feature.