aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/arm-returnaddr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/arm-returnaddr.ll')
-rw-r--r--test/CodeGen/ARM/arm-returnaddr.ll9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/arm-returnaddr.ll b/test/CodeGen/ARM/arm-returnaddr.ll
index ec2ebc9aae..95edaad47e 100644
--- a/test/CodeGen/ARM/arm-returnaddr.ll
+++ b/test/CodeGen/ARM/arm-returnaddr.ll
@@ -1,11 +1,10 @@
-; RUN: llc < %s -mtriple=arm-apple-darwin -regalloc=linearscan | FileCheck %s
-; RUN: llc < %s -mtriple=thumbv6-apple-darwin -regalloc=linearscan | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv6-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=arm-apple-darwin -regalloc=basic | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv6-apple-darwin -regalloc=basic | FileCheck %s
; rdar://8015977
; rdar://8020118
-; This test needs the reserved register r7 to be coalesced into the ldr.
-; So far, only linear scan can do that.
-
define i8* @rt0(i32 %x) nounwind readnone {
entry:
; CHECK: rt0: