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 /llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll | |
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 'llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll b/llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll index df8dc87176c..3686a1f9ed0 100644 --- a/llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll +++ b/llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll @@ -366,7 +366,6 @@ define i32 @fcmpri(i32 %argc, i8** nocapture readonly %argv) { ; CHECK-LABEL-DAG: .LBB9_3 ; CHECK: cmp w19, #0 ; CHECK: fcmp d8, #0.0 -; CHECK: b.gt .LBB9_5 ; CHECK-NOT: cmp w19, #1 ; CHECK-NOT: b.ge .LBB9_5 |