llvm-6502/test
Chandler Carruth e8187e0294 Undo a previous restriction on the inline cost calculation which Nick
introduced. Specifically, there are cost reductions for all
constant-operand icmp instructions against an alloca, regardless of
whether the alloca will in fact be elligible for SROA. That means we
don't want to abort the icmp reduction computation when we abort the
SROA reduction computation. That in turn frees us from the need to keep
a separate worklist and defer the ICmp calculations.

Use this new-found freedom and some judicious function boundaries to
factor the innards of computing the cost factor of any given instruction
out of the loop over the instructions and into static helper functions.
This greatly simplifies the code, and hopefully makes it more clear what
is happening here.

Reviewed by Eric Christopher. There is some concern that we'd like to
ensure this doesn't get out of hand, and I plan to benchmark the effects
of this change over the next few days along with some further fixes to
the inline cost.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152368 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-09 02:49:36 +00:00
..
Analysis
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fix a regression from r147481. 2012-03-09 02:00:48 +00:00
DebugInfo Add the DW_AT_APPLE_runtime_class attribute to forward declarations 2012-03-07 00:15:19 +00:00
ExecutionEngine
Feature
Instrumentation
Integer
lib
Linker
MC Use llvm-mc instead of llc. Patch by Jack Carter. 2012-03-07 20:58:59 +00:00
Object [Object] 2012-03-01 22:19:54 +00:00
Other
Scripts
TableGen Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
Transforms Undo a previous restriction on the inline cost calculation which Nick 2012-03-09 02:49:36 +00:00
Unit
Verifier
CMakeLists.txt llvm/test/CMakeLists.txt: Update dependencies to add llvm-readobj to "check". 2012-03-01 03:14:13 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh