[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / 2007-10-19-SpillerUnfold.ll
index e649999bb0a8d1122c5a9adf12dca085b20b8581..30e1f575caf0b0322ca858513e4eabdc99244498 100644 (file)
@@ -1,6 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | grep inc | not grep PTR
+; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | FileCheck %s
 
-define i16 @t(i32* %bitptr, i32* %source, i8** %byteptr, i32 %scale, i32 %round) signext  {
+; CHECK: inc
+; CHECK-NOT: PTR
+; CHECK: {{$}}
+
+define signext   i16 @t(i32* %bitptr, i32* %source, i8** %byteptr, i32 %scale, i32 %round) {
 entry:
        br label %bb
 
@@ -21,7 +25,7 @@ cond_next127:         ; preds = %cond_true, %bb
        %tmp154155156 = sext i16 %tmp154155 to i32              ; <i32> [#uses=1]
        %tmp158 = xor i32 %tmp154155156, %tmp153                ; <i32> [#uses=1]
        %tmp160 = or i32 %tmp158, %cnt.0                ; <i32> [#uses=1]
-       %tmp171 = load i32* %bitptr, align 4            ; <i32> [#uses=1]
+       %tmp171 = load i32, i32* %bitptr, align 4               ; <i32> [#uses=1]
        %tmp180181 = sext i16 0 to i32          ; <i32> [#uses=3]
        %tmp183 = add i32 %tmp160, 1            ; <i32> [#uses=1]
        br i1 false, label %cond_true188, label %cond_next245
@@ -50,7 +54,7 @@ cond_next327:         ; preds = %cond_true267
        br i1 false, label %cond_true343, label %cond_next385
 
 cond_true343:          ; preds = %cond_next327
-       %tmp345 = load i8** %byteptr, align 4           ; <i8*> [#uses=1]
+       %tmp345 = load i8*, i8** %byteptr, align 4              ; <i8*> [#uses=1]
        store i8* null, i8** %byteptr, align 4
        br i1 false, label %cond_next385, label %cond_true352
 
@@ -65,8 +69,8 @@ cond_next385:         ; preds = %cond_true352, %cond_true343, %cond_next327
        br label %cond_next391
 
 cond_next391:          ; preds = %cond_next385, %cond_next245
-       %tmp393 = load i32* %source, align 4            ; <i32> [#uses=1]
-       %tmp395 = load i32* %bitptr, align 4            ; <i32> [#uses=2]
+       %tmp393 = load i32, i32* %source, align 4               ; <i32> [#uses=1]
+       %tmp395 = load i32, i32* %bitptr, align 4               ; <i32> [#uses=2]
        %tmp396 = shl i32 %tmp393, %tmp395              ; <i32> [#uses=1]
        %tmp398 = sub i32 32, %tmp256           ; <i32> [#uses=1]
        %tmp405 = lshr i32 %tmp396, 31          ; <i32> [#uses=1]