Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: tests_lit/llvm2ice_tests/fp.pnacl.ll

Issue 339933004: Change some tests to be valid PNaCl IR (parameter type from i1 -> i32). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/cmp-opt.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests_lit/llvm2ice_tests/cmp-opt.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698