Fix PowerPC/cttz.ll to specify a cpu (and use FileCheck)
[oota-llvm.git] / test / CodeGen / PowerPC / 2010-03-09-indirect-call.ll
index 0003a17c2284d1ca85dfe8636440ea4b7553ad2e..b95ac6880758bcac5a96b540d791a5a678e3eb7a 100644 (file)
@@ -9,9 +9,8 @@ target triple = "powerpc-apple-darwin11.0"
 
 define void @foo() nounwind ssp {
 entry:
-; Better: mtctr r12
-; CHECK: mr r12, [[REG:r[0-9]+]]
-; CHECK: mtctr [[REG]]
+; CHECK: mtctr r12
+; CHECK: bctrl
   %0 = load void (...)** @p, align 4              ; <void (...)*> [#uses=1]
   call void (...)* %0() nounwind
   br label %return