Fix PPCMaterializeInt to check the size of the integer based on the
[oota-llvm.git] / test / CodeGen / PowerPC / 2007-02-23-lr-saved-twice.ll
index 3a7d393db89253ad4f91ab82c679a9b62c430be2..5a6fbf01c1b84728bf3933ed77653fd3392b6960 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc | grep mflr | wc -l | grep 1
+; RUN: llc < %s | grep mflr | count 1
 
 target datalayout = "e-p:32:32"
 target triple = "powerpc-apple-darwin8"
@@ -7,7 +7,7 @@ target triple = "powerpc-apple-darwin8"
 
 define i32 @main() {
 entry:
-        %tmp = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([18 x i8]* @str, i32 0, i32 0) )                ; <i32> [#uses=0]
+        %tmp = tail call i32 (i8*, ...) @printf( i8* getelementptr ([18 x i8], [18 x i8]* @str, i32 0, i32 0) )                ; <i32> [#uses=0]
         ret i32 0
 }