diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2016-08-19 19:03:07 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2016-08-19 19:03:07 +0000 |
| commit | 7a104615c527e9d962027988b89e2fc08fd0e257 (patch) | |
| tree | f4a67e9df68aa22aa46efbcdfc88954099ce1a56 /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp | |
| parent | 46d396041bb2d8cdce8ad3a8cca074a59c3716b0 (diff) | |
| download | bcm5719-llvm-7a104615c527e9d962027988b89e2fc08fd0e257.tar.gz bcm5719-llvm-7a104615c527e9d962027988b89e2fc08fd0e257.zip | |
[InstCombine] remove an icmp fold that is already handled by InstSimplify
Specifically, this is done near the end of "SimplifyICmpInst" using
computeKnownBits() as the broader solution. There are even vector
tests (yay!) for this in test/Transforms/InstSimplify/compare.ll.
I considered putting an assert here instead of just deleting, but
then we could assert every possible fold in InstSimplify in
InstCombine, so...less is more?
llvm-svn: 279300
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions

