llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel 3f4db3ea97 [InstCombine] convert bitwise (in)equality checks to logical ops (PR32401)
As discussed in:
https://bugs.llvm.org/show_bug.cgi?id=32401

we have a backend transform to undo this:
https://reviews.llvm.org/rL299542

when it's likely that the xor version leads to better codegen, but we want 
this form in IR for better analysis and simplification potential.

llvm-svn: 308031
2017-07-14 15:09:49 +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 fix typos in comments; NFC 2017-07-11 06:04:59 +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 [InstCombine] convert bitwise (in)equality checks to logical ops (PR32401) 2017-07-14 15:09:49 +00:00
InstCombineInternal.h [InstCombine] Make InstCombine's IRBuilder be passed by reference everywhere 2017-07-07 23:16:26 +00:00
InstCombineLoadStoreAlloca.cpp Enhance synchscope representation 2017-07-11 22:23:00 +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 fix typos in comments; NFC 2017-07-11 06:04:59 +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