| Index: tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
| diff --git a/tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll b/tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
| index 7207c8ed3223c330c0cfb9ef886336331012bbad..bfffd6a02394ef315342711e1a19cfbe78709c8f 100644
|
| --- a/tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
| +++ b/tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
| @@ -1,17 +1,16 @@
|
| ; This tests the optimization of atomic cmpxchg w/ following cmp + branches.
|
|
|
| -; 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=O2 %s
|
| -; RUN: %llvm2ice -Om1 --verbose none %s \
|
| +; RUN: %p2i -i %s --args -Om1 --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=OM1 %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 i32 @llvm.nacl.atomic.cmpxchg.i32(i32*, i32, i32, i32, i32)
|
|
|
|
|