llvm-6502/test/Transforms
Eli Friedman 792860883e PR11061: Make simplifylibcalls fold strcmp("", x) correctly.
While I'm here, fix the related issue with strncmp, add some actual tests for strcmp and strncmp, and start using StringRef::compare for constant folding instead of using strcmp/strncmp so that the optimized IR isn't dependent on the host's implementation of strcmp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141227 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-05 22:27:16 +00:00
..
ADCE
ArgumentPromotion
BlockPlacement
BranchFolding
CodeExtractor
CodeGenPrepare
ConstantMerge
ConstProp
CorrelatedValuePropagation
DeadArgElim
DeadStoreElimination
EarlyCSE
FunctionAttrs
GlobalDCE
GlobalOpt
GVN GVN does simple propagation of conditions: when it sees a conditional 2011-10-05 14:28:49 +00:00
IndVarSimplify Test case for r140670: indvars should hoist sext. 2011-09-28 02:13:32 +00:00
Inline
InstCombine Revert 141203. InstCombine is looping on unit tests. 2011-10-05 20:44:29 +00:00
InstSimplify
Internalize
IPConstantProp
JumpThreading
LCSSA
LICM
LoopDeletion
LoopIdiom Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit. 2011-09-27 20:39:19 +00:00
LoopRotate
LoopSimplify
LoopStrengthReduce LSR should avoid redundant edge splitting. 2011-10-04 03:50:44 +00:00
LoopUnroll Unit test for r140919, loop unroll heuristics. 2011-10-04 00:07:02 +00:00
LoopUnswitch Split the landing pad basic block with the correct function. Also merge the 2011-09-27 00:59:31 +00:00
LowerAtomic Convert more tests over to the new atomic instructions. 2011-09-26 20:27:49 +00:00
LowerExpectIntrinsic
LowerInvoke
LowerSwitch
Mem2Reg Add the returns_twice attribute to LLVM. 2011-10-03 14:45:37 +00:00
MemCpyOpt
MergeFunc
ObjCARC When eliminating unnecessary retain+autorelease on return values, 2011-09-29 22:27:34 +00:00
PhaseOrdering
PruneEH
Reassociate
ScalarRepl Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit. 2011-09-27 20:39:19 +00:00
SCCP
SimplifyCFG
SimplifyLibCalls PR11061: Make simplifylibcalls fold strcmp("", x) correctly. 2011-10-05 22:27:16 +00:00
Sink
StripSymbols
TailCallElim Check for the returns_twice attribute in callsFunctionThatReturnsTwice. This 2011-10-05 20:05:13 +00:00
TailDup