You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the operand ordering of conditional branches less confusing.
In LLVM, a conditional branch (in textual representation) looks like:
```
br %cond, bb-if-true, bb-if-false
```
But under the hood, the operands are stored in a different order:
cond, bb-if-false, bb-if-true
This led us to invert all of our guards in our traces!
Rather than inherit this oddity in our IRs, this change re-jiggles the
operand ordering during lowering to make it how you might expect.
0 commit comments