diff options
| author | Owen Anderson <resistor@mac.com> | 2010-09-28 18:32:13 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-09-28 18:32:13 +0000 |
| commit | 88af7d00fc2584217465f07e1f0cc5bbf63d6592 (patch) | |
| tree | d9c37203e2a1fbb71c6950a5f099e6b0e9138a89 /llvm/test | |
| parent | 5154ee0bca72c6decffab014163d61c0f5a526c6 (diff) | |
| download | bcm5719-llvm-88af7d00fc2584217465f07e1f0cc5bbf63d6592.tar.gz bcm5719-llvm-88af7d00fc2584217465f07e1f0cc5bbf63d6592.zip | |
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.
llvm-svn: 114973
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/ARM/lsr-on-unrolled-loops.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/lsr-on-unrolled-loops.ll b/llvm/test/CodeGen/ARM/lsr-on-unrolled-loops.ll index 866be423c2c..d7f3a0e5bbe 100644 --- a/llvm/test/CodeGen/ARM/lsr-on-unrolled-loops.ll +++ b/llvm/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] |

