diff options
Diffstat (limited to 'test/Transforms/TailDup/if-tail-dup.ll')
-rw-r--r-- | test/Transforms/TailDup/if-tail-dup.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/TailDup/if-tail-dup.ll b/test/Transforms/TailDup/if-tail-dup.ll index 69205ec1d5..6a02ac51a3 100644 --- a/test/Transforms/TailDup/if-tail-dup.ll +++ b/test/Transforms/TailDup/if-tail-dup.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -tailduplicate | llc -march=x86 | grep 'je ' && -; RUN: llvm-as < %s | opt -tailduplicate | llc -march=x86 | not grep jmp +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | grep 'je ' && +; RUN: llvm-upgrade < %s | llvm-as | opt -tailduplicate | llc -march=x86 | not grep jmp ; This should have no unconditional jumps in it. The C source is: ;void foo(int c, int* P) { @@ -9,6 +9,7 @@ ; if (c & 8) P[3] = 1; ;} +implementation void %foo(int %c, int* %P) { entry: |