llvm-project/llvm/lib/Transforms/InstCombine
Sanjay Patel dbbaca0e1b [InstCombine] enable optimization of casted vector xor instructions
This is part of the payoff for the refactoring in:
http://reviews.llvm.org/rL261649
http://reviews.llvm.org/rL261707

In addition to removing a pile of duplicated code, the xor case was
missing the optimization for vector types because it checked
"SrcTy->isIntegerTy()" rather than "SrcTy->isIntOrIntVectorTy()"
like 'and' and 'or' were already doing.

This solves part of:
https://llvm.org/bugs/show_bug.cgi?id=26702

llvm-svn: 261750
2016-02-24 17:00:34 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
InstCombineAddSub.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombineAndOrXor.cpp [InstCombine] enable optimization of casted vector xor instructions 2016-02-24 17:00:34 +00:00
InstCombineCalls.cpp NFC. Move isDereferenceable to Loads.h/cpp 2016-02-24 12:49:04 +00:00
InstCombineCasts.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineCompares.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombineInternal.h [InstCombine] add helper function to foldCastedBitwiseLogic() ; NFCI 2016-02-23 16:36:07 +00:00
InstCombineLoadStoreAlloca.cpp NFC: Fix formating 2016-02-17 21:21:29 +00:00
InstCombineMulDivRem.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombinePHI.cpp Fixed typo in r260530 2016-02-11 16:46:13 +00:00
InstCombineSelect.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineShifts.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineSimplifyDemanded.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstCombineVectorOps.cpp function names start with a lowercase letter; NFC 2016-02-01 22:23:39 +00:00
InstructionCombining.cpp [AA] Preserve the AA results wrapper pass as well as BasicAA in a few 2016-02-19 03:12:14 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00