Index: tests_lit/llvm2ice_tests/fp.pnacl.ll |
diff --git a/tests_lit/llvm2ice_tests/fp.pnacl.ll b/tests_lit/llvm2ice_tests/fp.pnacl.ll |
index f8b72289463d6f3dcb5a8de08fcfa2c87c39a3a6..e73908e0d3d70aafc69bca5bce4c32eeeded0b26 100644 |
--- a/tests_lit/llvm2ice_tests/fp.pnacl.ll |
+++ b/tests_lit/llvm2ice_tests/fp.pnacl.ll |
@@ -59,6 +59,18 @@ entry: |
; CHECK: push 123 |
; CHECK: call ignoreFpArgsNoInline |
+define internal i32 @passFp32ConstArg(float %a) { |
+entry: |
+ %call = call i32 @ignoreFp32ArgsNoInline(float %a, i32 123, float 2.0) |
+ ret i32 %call |
+} |
+; CHECK: passFp32ConstArg: |
+; CHECK: push dword |
+; CHECK: push 123 |
+; CHECK: call ignoreFp32ArgsNoInline |
+ |
+declare i32 @ignoreFp32ArgsNoInline(float, i32, float) |
+ |
define internal float @returnFloatArg(float %a) { |
entry: |
ret float %a |