[ARM] Mark VMOV with immediate: isAsCheapAsMove.
[oota-llvm.git] / test / CodeGen / PowerPC / 2007-02-23-lr-saved-twice.ll
index 2e67f8f0d25ad29a79a5a83f19151e5bb93ac240..5a6fbf01c1b84728bf3933ed77653fd3392b6960 100644 (file)
@@ -1,14 +1,13 @@
-; 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"
 @str = internal constant [18 x i8] c"hello world!, %d\0A\00"            ; <[18 x i8]*> [#uses=1]
 
-implementation   ; Functions:
 
 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
 }