diff options
author | James Molloy <james.molloy@arm.com> | 2015-02-11 12:15:41 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2015-02-11 12:15:41 +0000 |
commit | 7c336576a5b90e6f6f041f521d37f780744057ce (patch) | |
tree | db2fccab0d8fc829cf3ff8ff1f1ae3f13b1f1be7 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | |
parent | a19216c8f4b26cb98aae5ada5c44c73bd3bf350e (diff) | |
download | bcm5719-llvm-7c336576a5b90e6f6f041f521d37f780744057ce.tar.gz bcm5719-llvm-7c336576a5b90e6f6f041f521d37f780744057ce.zip |
[SimplifyCFG] Swap to using TargetTransformInfo for cost
analysis.
We're already using TTI in SimplifyCFG, so remove the hard-baked "cheapness"
heuristic and use TTI directly. Generally NFC intended, but we're using a slightly
different heuristic now so there is a slight test churn.
Test changes:
* combine-comparisons-by-cse.ll: Removed unneeded branch check.
* 2014-08-04-muls-it.ll: Test now doesn't branch but emits muleq.
* coalesce-subregs.ll: Superfluous block check.
* 2008-01-02-hoist-fp-add.ll: fadd is safe to speculate. Change to udiv.
* PhiBlockMerge.ll: Superfluous CFG checking code. Main checks still present.
* select-gep.ll: A variable GEP is not expensive, just TCC_Basic, according to the TTI.
llvm-svn: 228826
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h')
0 files changed, 0 insertions, 0 deletions