Index: tests_lit/llvm2ice_tests/select-opt.ll |
diff --git a/tests_lit/llvm2ice_tests/select-opt.ll b/tests_lit/llvm2ice_tests/select-opt.ll |
index 83a3d42b339401ead82d79af73504e51eb694de1..ca91274f65807092d37e01e0eaebde5e1194de55 100644 |
--- a/tests_lit/llvm2ice_tests/select-opt.ll |
+++ b/tests_lit/llvm2ice_tests/select-opt.ll |
@@ -3,12 +3,12 @@ |
; regardless of the optimization level, so there are no special OPTM1 |
; match lines. |
-; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s |
-; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s |
; RUN: %llvm2ice -O2 --verbose none %s \ |
-; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj |
+; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
+; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
; RUN: %llvm2ice -Om1 --verbose none %s \ |
-; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj |
+; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
+; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
@@ -25,9 +25,15 @@ entry: |
ret void |
} |
-declare void @useInt(i32) |
+define void @useInt(i32 %x) { |
+entry: |
+ call void @useIntHelper(i32 %x) |
+ ret void |
+} |
+ |
+declare void @useIntHelper(i32) |
-; CHECK: .globl testSelect |
+; CHECK-LABEL: testSelect |
; CHECK: cmp |
; CHECK: cmp |
; CHECK: call useInt |