diff options
| author | Craig Topper <craig.topper@intel.com> | 2017-06-13 23:30:41 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2017-06-13 23:30:41 +0000 |
| commit | 82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d (patch) | |
| tree | 1a8158f4f46b76fb89a44871cf5cb25df02c5f4a /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | |
| parent | f51c80559c55070c053169d761dba28845a1280f (diff) | |
| download | bcm5719-llvm-82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d.tar.gz bcm5719-llvm-82e4c2dfd2b5d5e9af287b5a851c7a13f7a6020d.zip | |
[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/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

