llvm/lib/Transforms/InstCombine
Benjamin Kramer a8517ee732 InstCombine: Check for zero shift amounts before subtracting one causing integer overflow.
PR17026. Also avoid undefined shifts and shift amounts larger than 64 bits
(those are always undef because we can't represent integer types that large).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189672 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-30 14:35:35 +00:00
..
CMakeLists.txt Tidy up a bit. No functional change. 2013-04-05 21:20:12 +00:00
InstCombine.h Teach InstCombine visitGetElementPtr about address spaces 2013-08-19 22:17:40 +00:00
InstCombineAddSub.cpp Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y). 2013-07-30 23:53:17 +00:00
InstCombineAndOrXor.cpp InstCombine: Use isAllOnesValue() instead of explicit -1. 2013-08-16 17:03:36 +00:00
InstCombineCalls.cpp Change behavior of calling bitcasted alias functions. 2013-07-30 20:45:05 +00:00
InstCombineCasts.cpp Teach InstCombine about address spaces 2013-08-21 19:53:10 +00:00
InstCombineCompares.cpp Teach InstCombine about address spaces 2013-08-21 19:53:10 +00:00
InstCombineLoadStoreAlloca.cpp Fix always creating GEP with i32 indices 2013-08-14 00:24:38 +00:00
InstCombineMulDivRem.cpp Correct case of m_UIToFp to m_UIToFP to match instruction name, add m_SIToFP for consistency. 2013-07-26 17:55:00 +00:00
InstCombinePHI.cpp Tidy up a bit. No functional change. 2013-04-05 21:20:12 +00:00
InstCombineSelect.cpp InstCombine: Also turn selects fed by an and into arithmetic when the types don't match. 2013-06-29 21:17:04 +00:00
InstCombineShifts.cpp Revert r174152. The shift amount may overflow and in that case this transformation is illegal. 2013-02-01 07:59:33 +00:00
InstCombineSimplifyDemanded.cpp InstCombine: Check for zero shift amounts before subtracting one causing integer overflow. 2013-08-30 14:35:35 +00:00
InstCombineVectorOps.cpp Fix typo. 2013-08-28 22:17:26 +00:00
InstCombineWorklist.h Use pop_back_val() instead of both back() and pop_back(). 2013-08-19 22:47:55 +00:00
InstructionCombining.cpp Teach InstCombine visitGetElementPtr about address spaces 2013-08-19 22:17:40 +00:00
LLVMBuild.txt
Makefile