llvm-project/llvm/lib/Transforms/InstCombine
Serge Guelton f6329ec2e9 Fix invalid cast in instcombine UMul/ZExt idiom
Fixes https://bugs.llvm.org/show_bug.cgi?id=25454

Do not assume IRBuilder creates Instruction where it can create Value.
Do not assume idiom operands are constant, leave generalisation ot the IRBuilder.

Differential Revision: https://reviews.llvm.org/D35114

llvm-svn: 307554
2017-07-10 16:51:40 +00:00
..
CMakeLists.txt [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
InstCombineAddSub.cpp [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
InstCombineAndOrXor.cpp [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
InstCombineCalls.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineCasts.cpp [IR] Make use of Type::isPtrOrPtrVectorTy/isIntOrIntVectorTy/isFPOrFPVectorTy to shorten code. NFC 2017-07-09 07:04:00 +00:00
InstCombineCompares.cpp Fix invalid cast in instcombine UMul/ZExt idiom 2017-07-10 16:51:40 +00:00
InstCombineInternal.h [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineMulDivRem.cpp [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
InstCombinePHI.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineSelect.cpp [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
InstCombineShifts.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineVectorOps.cpp [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstructionCombining.cpp [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
LLVMBuild.txt