llvm/test/Transforms
Arnaud A. de Grandmaison 7c5c9b39c9 Teach InstCombine to work with smaller legal types in icmp (shl %v, C1), C2
It enables to work with a smaller constant, which is target friendly for those which can compare to immediates.
It also avoids inserting a shift in favor of a trunc, which can be free on some targets.

This used to work until LLVM-3.1, but regressed with the 3.2 release.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175270 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-15 14:35:47 +00:00
..
ADCE
ArgumentPromotion FileCheck-ize the tests. 2013-02-11 08:34:57 +00:00
BBVectorize
BlockPlacement
BranchFolding
CodeExtractor
CodeGenPrepare
ConstantMerge
ConstProp Remove this testcase until I can figure out how to properly conditionalize it. 2013-02-07 07:01:54 +00:00
CorrelatedValuePropagation
DeadArgElim FileCheck-ize the tests. 2013-02-11 08:34:57 +00:00
DeadStoreElimination
EarlyCSE
FunctionAttrs FileCheck-ize the tests. 2013-02-11 08:34:57 +00:00
GlobalDCE
GlobalOpt Added missing newline to end of test case. 2013-02-05 19:39:44 +00:00
GVN
IndVarSimplify
Inline Remove the AttrBuilder form of the Attribute::get creators. 2013-01-31 23:16:25 +00:00
InstCombine Teach InstCombine to work with smaller legal types in icmp (shl %v, C1), C2 2013-02-15 14:35:47 +00:00
InstSimplify [SimplifyLibCalls] Library call simplification doen't work if the call site 2013-02-08 18:00:14 +00:00
Internalize
IPConstantProp
JumpThreading
LCSSA
LICM
LoopDeletion
LoopIdiom
LoopRotate
LoopSimplify
LoopStrengthReduce LSR IVChain improvement. 2013-02-09 01:11:01 +00:00
LoopUnroll
LoopUnswitch
LoopVectorize Formatting. 2013-02-05 15:32:16 +00:00
LowerAtomic
LowerExpectIntrinsic
LowerInvoke
LowerSwitch
Mem2Reg
MemCpyOpt Simplify the 'operator<' for the attribute object. 2013-02-15 05:25:26 +00:00
MergeFunc
MetaRenamer
ObjCARC Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2013-01-22 14:39:21 +00:00
PhaseOrdering
PruneEH
Reassociate
Reg2Mem
ScalarRepl s/grep/FileCheck/ in some tests 2013-02-13 22:00:37 +00:00
SCCP
SimplifyCFG Filecheckized 2x tests in SimplifyCFG and removed their date prefix to fit with current llvm style for test names. 2013-01-31 01:04:23 +00:00
SimplifyLibCalls FileCheck-ize the tests. 2013-02-11 08:34:57 +00:00
Sink
SROA
StripSymbols
TailCallElim
TailDup