| 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..0206ff6a57eecdec9b13e7476dee788c1262ecce 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,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 +33,7 @@ entry:
|
| ret i32 %ret
|
| }
|
| ; CHECK-LABEL: converted_fp_call
|
| -; CHECK: call dummy
|
| +; CHECK: call {{.*}} R_{{.*}} dummy
|
| ; CHECK: fstp
|
| ; CHECK: cvttss2si
|
|
|
| @@ -48,6 +46,6 @@ entry:
|
| ret float %fp
|
| }
|
| ; CHECK-LABEL: returned_fp_call
|
| -; CHECK: call dummy
|
| +; CHECK: call {{.*}} R_{{.*}} dummy
|
| ; CHECK: fstp
|
| ; CHECK: fld
|
|
|