llvm-6502/lib/Transforms
David Majnemer 3bd87826e5 [InstCombine] Clear out nsw/nuw if we modify computation in the chain
An nsw/nuw operation relies on the values feeding into it to not
overflow if 'poison' is not to be produced.  This means that
optimizations which make modifications to the bottom of a chain (like
SimplifyDemandedBits) must strip out nsw/nuw if they cannot ensure that
they will be preserved.

This fixes PR23309.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235544 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-22 20:59:28 +00:00
..
Hello
InstCombine [InstCombine] Clear out nsw/nuw if we modify computation in the chain 2015-04-22 20:59:28 +00:00
Instrumentation DebugInfo: Delete subclasses of DIScope 2015-04-20 22:10:08 +00:00
IPO DebugInfo: Drop rest of DIDescriptor subclasses 2015-04-21 18:44:06 +00:00
ObjCARC Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Scalar don't repeat function names in comments; NFC 2015-04-22 18:04:46 +00:00
Utils Revert "[opaque pointer type] Avoid using PointerType::getElementType for a few cases of CallInst" 2015-04-22 18:16:49 +00:00
Vectorize Revert "[opaque pointer type] Avoid using PointerType::getElementType for a few cases of CallInst" 2015-04-22 18:16:49 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile