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

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: 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
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..0ead3361c320d4b7aa8d0332d19d9917e7be65eb 100644
--- a/tests_lit/llvm2ice_tests/fpcall.ll
+++ b/tests_lit/llvm2ice_tests/fpcall.ll
@@ -3,12 +3,10 @@
; 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:
@@ -24,7 +22,8 @@ entry:
ret i32 0
}
; CHECK-LABEL: ignored_fp_call
-; CHECK: call dummy
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} dummy
; CHECK: fstp
; The top of the FP stack is popped and subsequently used.
@@ -35,7 +34,8 @@ entry:
ret i32 %ret
}
; CHECK-LABEL: converted_fp_call
-; CHECK: call dummy
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} dummy
; CHECK: fstp
; CHECK: cvttss2si
@@ -48,6 +48,7 @@ entry:
ret float %fp
}
; CHECK-LABEL: returned_fp_call
-; CHECK: call dummy
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} dummy
; CHECK: fstp
; CHECK: fld

Powered by Google App Engine
This is Rietveld 408576698