If we have a >s b and we know that b >s 0 then we also can infer that a >u b.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,070 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
Comment Actions
Thanks for adding the extra tests. A few suggestions about additional coverage inline
llvm/test/Transforms/ConstraintElimination/transfer-signed-facts-to-unsigned.ll | ||
---|---|---|
599 | Could you add a variant where we also check icmp ugt i8 %a, 1 (negative test) | |
626 | please also add a variant of the test where we have no info about %b's range (i.e. no check for %b). | |
642 | please also add a test with a different negative value. | |
645 | please don't use %t.x prefix for values that are not expected to be simplified; better just use %c. (here and below) |
Could you add a variant where we also check icmp ugt i8 %a, 1 (negative test)