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

Unified Diff: tests_lit/llvm2ice_tests/fpcall.ll

Issue 914263005: Subzero: switch from llvm-objdump to objdump for lit tests (for LLVM merge) (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: fix some line wrap Created 5 years, 10 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/fp.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fpconst.pnacl.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/fpcall.ll
diff --git a/tests_lit/llvm2ice_tests/fpcall.ll b/tests_lit/llvm2ice_tests/fpcall.ll
index 91fa575c656dd0f5a36da448ac20f99dec08b233..5f737ae94cdff231af29652a277bb64018a9b38f 100644
--- a/tests_lit/llvm2ice_tests/fpcall.ll
+++ b/tests_lit/llvm2ice_tests/fpcall.ll
@@ -3,18 +3,12 @@
; particular, the top-of-stack must be popped regardless of whether
; its value is used.
-; RUN: %p2i -i %s --args -O2 --verbose none \
-; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
-; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
-; RUN: %p2i -i %s --args -Om1 --verbose none \
-; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
-; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
+; RUN: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \
+; RUN: | FileCheck %s
+; RUN: %p2i --assemble --disassemble -i %s --args -Om1 --verbose none \
+; RUN: | FileCheck %s
-define float @dummy() {
-entry:
- ret float 0.000000e+00
-}
-; CHECK-LABEL: dummy
+declare float @dummy()
; The call is ignored, but the top of the FP stack still needs to be
; popped.
@@ -24,7 +18,7 @@ entry:
ret i32 0
}
; CHECK-LABEL: ignored_fp_call
-; CHECK: call dummy
+; CHECK: call {{.*}} R_{{.*}} dummy
; CHECK: fstp
; The top of the FP stack is popped and subsequently used.
@@ -35,7 +29,7 @@ entry:
ret i32 %ret
}
; CHECK-LABEL: converted_fp_call
-; CHECK: call dummy
+; CHECK: call {{.*}} R_{{.*}} dummy
; CHECK: fstp
; CHECK: cvttss2si
@@ -48,6 +42,6 @@ entry:
ret float %fp
}
; CHECK-LABEL: returned_fp_call
-; CHECK: call dummy
+; CHECK: call {{.*}} R_{{.*}} dummy
; CHECK: fstp
; CHECK: fld
« no previous file with comments | « tests_lit/llvm2ice_tests/fp.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fpconst.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698