llvm-project/llvm/lib/Transforms
Sanjay Patel 26368cd5d9 [InstCombine] narrow select to match condition operands' size
This is the planned enhancement to D47163 / rL333611.
We want to match cmp/select sizes because that will be recognized
as min/max more easily and lead to better codegen (especially for
vector types).

As mentioned in D47163, this improves some of the tests that would
also be folded by D46380, so we may want to adjust that patch to
match the new patterns where the extend op occurs after the select.

llvm-svn: 333689
2018-05-31 19:55:27 +00:00
..
AggressiveInstCombine [AggressiveInstCombine] avoid crashing on unsimplified code (PR37446) 2018-05-14 13:43:32 +00:00
Coroutines Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
Hello
IPO Extend the GlobalObject metadata interface 2018-05-31 13:29:58 +00:00
InstCombine [InstCombine] narrow select to match condition operands' size 2018-05-31 19:55:27 +00:00
Instrumentation [msan] Don't check divisor shadow in fdiv. 2018-05-18 20:19:53 +00:00
ObjCARC [WebAssembly] Add Wasm personality and isScopedEHPersonality() 2018-05-17 20:52:03 +00:00
Scalar [JumpThreading] Fix some strange formatting of code inside LLVM_DEBUG. NFC 2018-05-31 18:08:11 +00:00
Utils [SimplifyLibcalls] [NFC] Cleanup, improvements 2018-05-31 16:39:27 +00:00
Vectorize [VPlan] Replace LLVM_ATTRIBUTE_USED with ifndef NDEBUG 2018-05-29 23:10:44 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
LLVMBuild.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00