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
- Build Status
Buildable 17371 Build 17371: arc lint + arc unit
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 | ||
---|---|---|
3 | You can probably remove these two lines. |
You can probably remove these two lines.