aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-28 18:32:13 +0000
committerOwen Anderson <resistor@mac.com>2010-09-28 18:32:13 +0000
commitb20b85168c0e9819e6545f08281e9b83c82108f0 (patch)
treeba75b27d14400c20576dcdb80960a9b138e9e4ef /test/CodeGen
parentf2d7b7c879548090beae51b21c4b363da7dbbaad (diff)
downloadexternal_llvm-b20b85168c0e9819e6545f08281e9b83c82108f0.zip
external_llvm-b20b85168c0e9819e6545f08281e9b83c82108f0.tar.gz
external_llvm-b20b85168c0e9819e6545f08281e9b83c82108f0.tar.bz2
Part one of switching to using a more sane heuristic for determining if-conversion profitability.
Rather than having arbitrary cutoffs, actually try to cost model the conversion. For now, the constants are tuned to more or less match our existing behavior, but these will be changed to reflect realistic values as this work proceeds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/ARM/lsr-on-unrolled-loops.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/lsr-on-unrolled-loops.ll b/test/CodeGen/ARM/lsr-on-unrolled-loops.ll
index 866be42..d7f3a0e 100644
--- a/test/CodeGen/ARM/lsr-on-unrolled-loops.ll
+++ b/test/CodeGen/ARM/lsr-on-unrolled-loops.ll
@@ -627,8 +627,7 @@ bb24: ; preds = %bb23
; in a register, and it shouldn't require any reloads here.
; CHECK: @ %bb24
-; CHECK-NEXT: @ in Loop: Header=BB1_1 Depth=1
-; CHECK-NEXT: sub{{.*}} [[REGISTER:(r[0-9]+)|(lr)]], #1
+; CHECK: subs{{.*}} [[REGISTER:(r[0-9]+)|(lr)]], #1
; CHECK-NEXT: bne.w
%92 = icmp eq i32 %tmp81, %indvar78 ; <i1> [#uses=1]