diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-06-20 20:59:59 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-06-20 20:59:59 +0000 |
commit | 9ad8fb68f77594829fa88a19981fbb55ab1abf2f (patch) | |
tree | bd98378e01d18765baa85bf34e0e03667c2557c6 /lldb/packages/Python/lldbsuite/test/lang/cpp | |
parent | 071bb9d7afe4bc491684737e672f35f2e14a1f3e (diff) | |
download | bcm5719-llvm-9ad8fb68f77594829fa88a19981fbb55ab1abf2f.tar.gz bcm5719-llvm-9ad8fb68f77594829fa88a19981fbb55ab1abf2f.zip |
[InstSimplify] analyze (optionally casted) icmps to eliminate obviously false logic (PR27869)
By moving this transform to InstSimplify from InstCombine, we sidestep the problem/question
raised by PR27869:
https://llvm.org/bugs/show_bug.cgi?id=27869
...where InstCombine turns an icmp+zext into a shift causing us to miss the fold.
Credit to David Majnemer for a draft patch of the changes to InstructionSimplify.cpp.
Differential Revision: http://reviews.llvm.org/D21512
llvm-svn: 273200
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp')
0 files changed, 0 insertions, 0 deletions