Chromium Code Reviews| Index: tests_lit/llvm2ice_tests/phi.ll |
| diff --git a/tests_lit/llvm2ice_tests/phi.ll b/tests_lit/llvm2ice_tests/phi.ll |
| index 0099fed742a4eec70426ed7709df758d48deba6f..e25c6271db624b63b515d4b65867554fa2aee95b 100644 |
| --- a/tests_lit/llvm2ice_tests/phi.ll |
| +++ b/tests_lit/llvm2ice_tests/phi.ll |
| @@ -2,9 +2,7 @@ |
| ; it tests that it does the right thing when it tries to enable |
| ; compare/branch fusing. |
| -; TODO(kschimpf) Find out why lc2i must be used. |
| -; REQUIRES: allow_llvm_ir_as_input |
| -; RUN: %lc2i -i %s --args -O2 --verbose none --phi-edge-split=0 \ |
| +; RUN: %p2i -i %s --args -O2 --verbose none --phi-edge-split=0 \ |
| ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ |
| ; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - | FileCheck %s |
| @@ -91,9 +89,10 @@ exit: |
| ; CHECK-LABEL: testPhi3 |
| ; CHECK: push [[EBX:.*]] |
| ; CHECK: mov {{.*}}, dword ptr [esp |
| -; CHECK: mov |
| -; CHECK: mov {{.*}}[[ADDR:.*1000]] |
|
jvoung (off chromium)
2015/02/13 05:13:14
This used to form a more complex addressing mode [
Jim Stichnoth
2015/02/13 14:16:12
This is probably because p2i removes %__4 and %__6
jvoung (off chromium)
2015/02/13 16:40:08
Ah interesting -- make sense. Done.
|
| +; CHECK: add [[REG1:.*]], 1000 |
| +; CHECK: mov {{.*}}, [[REG1]] |
| +; CHECK: mov {{.*}}, dword ptr [[ADDR:.*]] |
| ; CHECK: cmp {{.*}}, 0 |
| ; CHECK: jne |
| -; CHECK: mov {{.*}}[[ADDR]] |
| +; CHECK: mov dword ptr [[ADDR]], |
| ; CHECK: pop [[EBX]] |