diff options
Diffstat (limited to 'test/CodeGen/ARM/arguments-nosplit-double.ll')
-rw-r--r-- | test/CodeGen/ARM/arguments-nosplit-double.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arguments-nosplit-double.ll b/test/CodeGen/ARM/arguments-nosplit-double.ll new file mode 100644 index 0000000..770e41d --- /dev/null +++ b/test/CodeGen/ARM/arguments-nosplit-double.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -mtriple=arm-linux-gnueabi | not grep r3 +; PR4059 + +define i32 @f(i64 %z, i32 %a, double %b) { + %tmp = call i32 @g(double %b) + ret i32 %tmp +} + +declare i32 @g(double) |