diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2018-04-26 20:52:27 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2018-04-26 20:52:27 +0000 |
commit | 0e643db48ff92b36c19582e544a8e21b3f5c11ca (patch) | |
tree | de4756117303a4948a12f118e6479a5a657db942 /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | |
parent | 824eb0e6a0585e647e20fdc4314b251cffdc241f (diff) | |
download | bcm5719-llvm-0e643db48ff92b36c19582e544a8e21b3f5c11ca.tar.gz bcm5719-llvm-0e643db48ff92b36c19582e544a8e21b3f5c11ca.zip |
Add test cases to prepare for the optimization that simplifies Add with
remainder expressions as operands.
Summary:
Add test cases to prepare for the new optimization that Simplifies integer add
expression X % C0 + (( X / C0 ) % C1) * C0 to X % (C0 * C1).
Patch by Bixia Zheng!
Reviewers: sanjoy
Reviewed By: sanjoy
Subscribers: jlebar, llvm-commits
Differential Revision: https://reviews.llvm.org/D46017
llvm-svn: 330991
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions