[SROA] Rip out all support for SSAUpdater in SROA.
[oota-llvm.git] / test / Transforms / SCCP / 2006-12-04-PackedType.ll
index b7a7880b0faffb17b2b254d5e7fa9f4ff262bd07..05cf5fffd2b64c74b6107b0b436f57e35fdf031f 100644 (file)
@@ -1,7 +1,7 @@
 ; Test VectorType handling by SCCP.
 ; SCCP ignores VectorTypes until PR 1034 is fixed
 ;
-; RUN: llvm-as < %s | opt -sccp
+; RUN: opt < %s -sccp
 ; END.
 
 target datalayout = "E-p:32:32"
@@ -103,16 +103,16 @@ target triple = "powerpc-apple-darwin8"
 
 define void @gldLLVMVecPointRender(%struct.GLDContextRec* %ctx) {
 entry:
-       %tmp.uip = getelementptr %struct.GLDContextRec* %ctx, i32 0, i32 22             ; <i32*> [#uses=1]
-       %tmp = load i32* %tmp.uip               ; <i32> [#uses=3]
+       %tmp.uip = getelementptr %struct.GLDContextRec, %struct.GLDContextRec* %ctx, i32 0, i32 22              ; <i32*> [#uses=1]
+       %tmp = load i32, i32* %tmp.uip          ; <i32> [#uses=3]
        %tmp91 = lshr i32 %tmp, 5               ; <i32> [#uses=1]
        %tmp92 = trunc i32 %tmp91 to i1         ; <i1> [#uses=1]
        br i1 %tmp92, label %cond_true93, label %cond_next116
 cond_true93:           ; preds = %entry
-       %tmp.upgrd.1 = getelementptr %struct.GLDContextRec* %ctx, i32 0, i32 31, i32 14         ; <i32*> [#uses=1]
-       %tmp95 = load i32* %tmp.upgrd.1         ; <i32> [#uses=1]
+       %tmp.upgrd.1 = getelementptr %struct.GLDContextRec, %struct.GLDContextRec* %ctx, i32 0, i32 31, i32 14          ; <i32*> [#uses=1]
+       %tmp95 = load i32, i32* %tmp.upgrd.1            ; <i32> [#uses=1]
        %tmp95.upgrd.2 = sitofp i32 %tmp95 to float             ; <float> [#uses=1]
-       %tmp108 = mul float undef, %tmp95.upgrd.2               ; <float> [#uses=1]
+       %tmp108 = fmul float undef, %tmp95.upgrd.2              ; <float> [#uses=1]
        br label %cond_next116
 cond_next116:          ; preds = %cond_true93, %entry
        %point_size.2 = phi float [ %tmp108, %cond_true93 ], [ undef, %entry ]          ; <float> [#uses=2]
@@ -130,7 +130,7 @@ cond_true462:               ; preds = %cond_true458
 cond_true467:          ; preds = %cond_true462
        ret void
 cond_next484:          ; preds = %cond_next116
-       %tmp486 = mul float %point_size.2, 5.000000e-01         ; <float> [#uses=1]
+       %tmp486 = fmul float %point_size.2, 5.000000e-01                ; <float> [#uses=1]
        br label %cond_next487
 cond_next487:          ; preds = %cond_next484, %cond_true462, %cond_true458
        %radius.0 = phi float [ %tmp486, %cond_next484 ], [ 5.000000e-01, %cond_true458 ], [ 5.000000e-01, %cond_true462 ]              ; <float> [#uses=2]