llvm-6502/lib/Transforms/Scalar
Jakob Stoklund Olesen 41e2073f62 Don't PRE compares.
CodeGenPrepare sinks compare instructions down to their uses to prevent
live flags and predicate registers across basic blocks.

PRE of a compare instruction prevents that, forcing the i1 compare
result into a general purpose register.  That is usually more expensive
than the redundant compare PRE was trying to eliminate in the first
place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153657 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-29 17:22:39 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
CMakeLists.txt
CodeGenPrepare.cpp Refactor the interface to recursively simplifying instructions to be tad 2012-03-24 21:11:24 +00:00
ConstantProp.cpp
CorrelatedValuePropagation.cpp llvm::SwitchInst 2012-03-11 06:09:17 +00:00
DCE.cpp
DeadStoreElimination.cpp Reverted r152620 - DSE: Shorten memset when a later store overwrites the start of it. There were all sorts of buildbot issues 2012-02-28 05:06:24 +00:00
EarlyCSE.cpp
GlobalMerge.cpp
GVN.cpp Don't PRE compares. 2012-03-29 17:22:39 +00:00
IndVarSimplify.cpp More IndVarSimplify cleanup. 2012-03-24 00:51:17 +00:00
JumpThreading.cpp enhance jump threading to preserve TBAA information when PRE'ing loads, 2012-03-13 18:07:41 +00:00
LICM.cpp
LLVMBuild.txt
LoopDeletion.cpp
LoopIdiomRecognize.cpp
LoopInstSimplify.cpp
LoopRotation.cpp
LoopStrengthReduce.cpp LSR ivchain bug fix: corner case with ConstantExpr. 2012-03-26 20:28:37 +00:00
LoopUnrollPass.cpp
LoopUnswitch.cpp This pass didn't want the inline cost per-se, it just wants generic code 2012-03-15 00:29:10 +00:00
LowerAtomic.cpp
Makefile
MemCpyOptimizer.cpp
ObjCARC.cpp Fix the MSVC build. 2012-03-24 01:36:37 +00:00
Reassociate.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp Indentation. 2012-03-23 08:29:04 +00:00
SCCP.cpp Fix 80-column violation. 2012-03-28 00:35:33 +00:00
SimplifyCFGPass.cpp
SimplifyLibCalls.cpp
Sink.cpp
TailRecursionElimination.cpp