aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-06-13 23:30:41 +0000
committerCraig Topper <craig.topper@intel.com>2017-06-13 23:30:41 +0000
commit82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d (patch)
tree1a8158f4f46b76fb89a44871cf5cb25df02c5f4a /llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
parentf51c80559c55070c053169d761dba28845a1280f (diff)
downloadllvm-82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d.zip
llvm-82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d.tar.gz
llvm-82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d.tar.bz2
[InstCombine] Add test cases demonstrating failure to handle (select (icmp eq (and X, C1), 0), Y, (or Y, C2)) when the icmp portion gets turned into a truncate and a signed compare with 0.
InstCombine has an optimization that recognizes an and with the sign bit of legal type size and turns it into a truncate and compare that checks the sign bit. But the select handling code doesn't recognize this idiom. llvm-svn: 305338
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp')
0 files changed, 0 insertions, 0 deletions