Add test cases to prepare for the new optimization that Simplifies
integer add expression X % C0 + (( X / C0 ) % C1) * C0 to X % (C0 * C1).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
- Use instnamer to fix the name of the tests.
Updating D46017: Add test cases to prepare for the optimization that simplifies Add with
remainder expressions as operands.
Comment Actions
lgtm modulo the one nit
Let me know if I should commit this for you.
test/Transforms/InstCombine/add4.ll | ||
---|---|---|
2 ↗ | (On Diff #143762) | You can probably remove these two lines. |