summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-05-04 23:14:02 +0000
committerDan Gohman <gohman@apple.com>2011-05-04 23:14:02 +0000
commitbecfb889aaab4df3f91048b48353d0040beb4aa8 (patch)
treeb3bce3f439208ee35e94a054b4730100cf43c657 /test/CodeGen/ARM
parentd29052bf26fec78a35665b6ccd563b62d2d1cf14 (diff)
downloadllvm-becfb889aaab4df3f91048b48353d0040beb4aa8.tar.gz
llvm-becfb889aaab4df3f91048b48353d0040beb4aa8.tar.bz2
llvm-becfb889aaab4df3f91048b48353d0040beb4aa8.tar.xz
Give this test an explicit register allocator, so that it can work even if
the default register allocator is changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/lsr-unfolded-offset.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/lsr-unfolded-offset.ll b/test/CodeGen/ARM/lsr-unfolded-offset.ll
index a3342c6bde..c5f0b466d6 100644
--- a/test/CodeGen/ARM/lsr-unfolded-offset.ll
+++ b/test/CodeGen/ARM/lsr-unfolded-offset.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s | FileCheck %s
+; RUN: llc -regalloc=greedy < %s | FileCheck %s
; LSR shouldn't introduce more induction variables than needed, increasing
; register pressure and therefore spilling. There is more room for improvement