[MachineVerifier] Analyze MachineMemOperands for mem-to-mem moves.
[oota-llvm.git] / test / CodeGen / PowerPC / compare-simm.ll
index 837eaf174cc5c10da3a0a39f3026bb535662e1a8..12eff7bb1813d5b9b2838b15549cdbf13ee2499b 100644 (file)
@@ -1,6 +1,9 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | 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
 
-define i32 @test(i32 %x) {
         %c = icmp eq i32 %x, -1
        br i1 %c, label %T, label %F
 T: