CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / vortex-bug.ll
index 680bfbdb3490ce43ce6827df2eca2ca70567746c..b1f42681a50821200ab8a72d4dd82b3ef78ced32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86
+; RUN: llc < %s -march=x86-64
 
        %struct.blktkntype = type { i32, i32 }
        %struct.fieldstruc = type { [128 x i8], %struct.blktkntype*, i32, i32 }
@@ -16,6 +16,6 @@ bb137.i:              ; preds = %bb137.i, %entry
        br i1 false, label %bb137.i, label %bb149.i.loopexit
 
 bb149.i.loopexit:              ; preds = %bb137.i
-       %tmp139.i = getelementptr i8* %FieldName, i64 %tmp139.rec.i             ; <i8*> [#uses=0]
+       %tmp139.i = getelementptr i8, i8* %FieldName, i64 %tmp139.rec.i         ; <i8*> [#uses=0]
        unreachable
 }