diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/compare-simm.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/compare-simm.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/compare-simm.ll b/llvm/test/CodeGen/PowerPC/compare-simm.ll index 94c5c0290f5..12eff7bb181 100644 --- a/llvm/test/CodeGen/PowerPC/compare-simm.ll +++ b/llvm/test/CodeGen/PowerPC/compare-simm.ll @@ -1,7 +1,9 @@ -; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \ -; RUN: grep "cmpwi cr0, r3, -1" +; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s define i32 @test(i32 %x) nounwind { +; CHECK-LABEL: @test +; CHECK: cmpwi r3, -1 + %c = icmp eq i32 %x, -1 br i1 %c, label %T, label %F T: |

