llvm-6502/lib/Transforms
David Majnemer 171825a8ce InstCombine: Don't fold (X <<s log(INT_MIN)) /s INT_MIN to X
Consider the case where X is 2.  (2 <<s 31)/s-2147483648 is zero but we
would fold to X.  Note that this is valid when we are in the unsigned
domain because we require NUW: 2 <<u 31 results in poison.

This fixes PR21245.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219568 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-11 10:20:04 +00:00
..
Hello
InstCombine InstCombine: Don't fold (X <<s log(INT_MIN)) /s INT_MIN to X 2014-10-11 10:20:04 +00:00
Instrumentation Use triple's isiOS() and isOSDarwin() methods. 2014-10-09 05:43:30 +00:00
IPO Inliner: Non-local functions in COMDATs shouldn't be dropped 2014-10-08 19:32:32 +00:00
ObjCARC
Scalar [SCEV] Add some asserts to the recently improved trip count computation 2014-10-11 00:12:11 +00:00
Utils SimplifyCFG: Don't convert phis into selects if we could remove undef behavior 2014-10-10 01:27:02 +00:00
Vectorize [SCEV] Fix one more caller blindly passing the latch to SCEV's 2014-10-11 05:28:30 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile