summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/ispositive.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/ispositive.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/ispositive.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/ispositive.ll b/llvm/test/CodeGen/PowerPC/ispositive.ll
index 824f721402e..8355819d287 100644
--- a/llvm/test/CodeGen/PowerPC/ispositive.ll
+++ b/llvm/test/CodeGen/PowerPC/ispositive.ll
@@ -1,6 +1,8 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | \
-; RUN: grep "srwi r3, r3, 31"
+; RUN: llc -verify-machineinstrs -ppc-asm-full-reg-names < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
+; CHECK-LABEL: test1
+; CHECK: srwi r3, r3, 31
+; CHECK: blr
define i32 @test1(i32 %X) {
entry:
icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
OpenPOWER on IntegriCloud