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 |