summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-01-19 16:12:10 +0000
committerSanjay Patel <spatel@rotateright.com>2017-01-19 16:12:10 +0000
commit291c3d8ff21652a7bd654cfc170e0891e46a84da (patch)
treed89a555a5af16e7b7431e921767fc52ddb55dc27 /clang
parent08df2464073f32c997c3ab39b6a3944a75923884 (diff)
downloadbcm5719-llvm-291c3d8ff21652a7bd654cfc170e0891e46a84da.tar.gz
bcm5719-llvm-291c3d8ff21652a7bd654cfc170e0891e46a84da.zip
[InstCombine] icmp Pred (shl nsw X, C1), C0 --> icmp Pred X, C0 >> C1
Try harder to fold icmp with shl nsw as discussed here: http://lists.llvm.org/pipermail/llvm-dev/2017-January/108749.html This is similar to the 'shl nuw' transforms that were added with D25913. This may eventually help solve: https://llvm.org/bugs/show_bug.cgi?id=30773 Differential Revision: https://reviews.llvm.org/D28406 llvm-svn: 292492
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud