llvm-project/llvm/lib/Transforms
Andrea Di Biagio 086cbc37ad [InstCombine] Teach how to fold a select into a cttz/ctlz with the 'is_zero_undef' flag.
This patch teaches the Instruction Combiner how to fold a cttz/ctlz followed by
a icmp plus select into a single cttz/ctlz with flag 'is_zero_undef' cleared.

Added test InstCombine/select-cmp-cttz-ctlz.ll.

llvm-svn: 227197
2015-01-27 15:58:14 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
IPO Remove unused include. 2015-01-27 05:58:44 +00:00
InstCombine [InstCombine] Teach how to fold a select into a cttz/ctlz with the 'is_zero_undef' flag. 2015-01-27 15:58:14 +00:00
Instrumentation [sancov] Fix unspecified constructor order between sancov and asan. 2015-01-27 15:01:22 +00:00
ObjCARC IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Scalar Migrate SeparateConstOffsetFromGEP to use a Function with 2015-01-27 07:16:37 +00:00
Utils SimplifyCFG: Omit range checks for switch lookup tables when default is unreachable 2015-01-26 19:52:34 +00:00
Vectorize SLPVectorizer: fix wrong scheduling of atomic load/stores. 2015-01-26 09:07:04 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00