Index: tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll |
diff --git a/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll b/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll |
index 9326be338d0c206fdf7935c58b79910b2ac8b31f..217159bfff47368e7e4fda6a0bd9e28e2bf28b69 100644 |
--- a/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll |
+++ b/tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll |
@@ -4,19 +4,19 @@ |
; doesn't know how to symbolize non-section-local functions. |
; The newer LLVM 3.6 one does work, but watch out for other bugs. |
-; RUN: %llvm2ice -O2 --verbose none %s \ |
+; RUN: %p2i -i %s --args -O2 --verbose none \ |
; RUN: | FileCheck --check-prefix=CALLTARGETS %s |
-; RUN: %llvm2ice -O2 --verbose none -sandbox %s \ |
+; RUN: %p2i -i %s --args -O2 --verbose none -sandbox \ |
; 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 -sandbox %s \ |
+; RUN: %p2i -i %s --args -Om1 --verbose none -sandbox \ |
; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s |
; Do another run w/ O2 and a different check-prefix (otherwise O2 and Om1 |
; share the same "CHECK" prefix). This separate run helps check that |
; some code is optimized out. |
-; RUN: %llvm2ice -O2 --verbose none -sandbox %s \ |
+; RUN: %p2i -i %s --args -O2 --verbose none -sandbox \ |
; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \ |
; RUN: | FileCheck --check-prefix=CHECKO2REM %s |
@@ -24,15 +24,14 @@ |
; Do O2 runs without -sandbox to make sure llvm.nacl.read.tp gets |
; lowered to __nacl_read_tp instead of gs:[0x0]. |
; We also know that because it's O2, it'll have the O2REM optimizations. |
-; RUN: %llvm2ice -O2 --verbose none %s \ |
+; RUN: %p2i -i %s --args -O2 --verbose none \ |
; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ |
; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \ |
; RUN: | FileCheck --check-prefix=CHECKO2UNSANDBOXEDREM %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 \ |
-; RUN: | FileCheck --check-prefix=DUMP %s |
+; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s |
+; TODO(kschimpf) Find out why lc2i is needed. |
+; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s |
declare i8* @llvm.nacl.read.tp() |
declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) |