summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/ARM/arguments-nosplit-double.ll')
-rw-r--r--llvm/test/CodeGen/ARM/arguments-nosplit-double.ll11
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll b/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll
index 770e41df2c2..8e4dee45ddf 100644
--- a/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll
+++ b/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll
@@ -1,9 +1,12 @@
-; RUN: llc < %s -mtriple=arm-linux-gnueabi | not grep r3
+; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s
; PR4059
+declare i32 @g(double)
+
define i32 @f(i64 %z, i32 %a, double %b) {
- %tmp = call i32 @g(double %b)
- ret i32 %tmp
+ %tmp = call i32 @g(double %b)
+ ret i32 %tmp
}
-declare i32 @g(double)
+; CHECK-NOT: r3
+
OpenPOWER on IntegriCloud