CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / 2009-06-04-VirtualLiveIn.ll
index fa90fa9426d6fc7d3ba5b712a76d5e7a056cbb6e..29795492d89c72519356e30af881413300812c52 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86
+; RUN: llc < %s -march=x86
 
-       type { %struct.GAP }            ; type %0
-       type { i16, i8, i8 }            ; type %1
-       type { [2 x i32], [2 x i32] }           ; type %2
-       type { %struct.rec* }           ; type %3
+       %0 = type { %struct.GAP }               ; type %0
+       %1 = type { i16, i8, i8 }               ; type %1
+       %2 = type { [2 x i32], [2 x i32] }              ; type %2
+       %3 = type { %struct.rec* }              ; type %3
        %struct.FILE_POS = type { i8, i8, i16, i32 }
        %struct.FIRST_UNION = type { %struct.FILE_POS }
        %struct.FOURTH_UNION = type { %struct.STYLE }
@@ -17,7 +17,7 @@
 
 define fastcc void @MinSize(%struct.rec* %x) nounwind {
 entry:
-       %tmp13 = load i8* undef, align 4                ; <i8> [#uses=3]
+       %tmp13 = load i8, i8* undef, align 4            ; <i8> [#uses=3]
        %tmp14 = zext i8 %tmp13 to i32          ; <i32> [#uses=2]
        switch i32 %tmp14, label %bb1109 [
                i32 42, label %bb246
@@ -34,7 +34,7 @@ bb249:                ; preds = %bb246
        br i1 %tmp3240, label %bb974, label %bb269
 
 bb269:
-       %tmp3424 = getelementptr %struct.rec* %x, i32 0, i32 0, i32 0, i32 0, i32 1             ; <%struct.rec**> [#uses=0]
+       %tmp3424 = getelementptr %struct.rec, %struct.rec* %x, i32 0, i32 0, i32 0, i32 0, i32 1                ; <%struct.rec**> [#uses=0]
        unreachable
 
 bb974: