X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FGeneric%2Fundef-phi.ll;h=03f3a6a2d1ba9f20ad32701e61d3a16abd5355bd;hb=b83896903b07f3be5722c8a0449d4922ef8a5a8a;hp=067f34ae67d5f8dd1743309e78deae09d0d7afcf;hpb=198d8baafbfdfcf5a5e219602a5d94ed263973b4;p=oota-llvm.git diff --git a/test/CodeGen/Generic/undef-phi.ll b/test/CodeGen/Generic/undef-phi.ll index 067f34ae67d..03f3a6a2d1b 100644 --- a/test/CodeGen/Generic/undef-phi.ll +++ b/test/CodeGen/Generic/undef-phi.ll @@ -14,13 +14,13 @@ entry: for.body: %stack.addr.02 = phi %struct.xx_stack* [ %0, %for.body ], [ %stack, %entry ] %next = getelementptr inbounds %struct.xx_stack, %struct.xx_stack* %stack.addr.02, i64 0, i32 1 - %0 = load %struct.xx_stack** %next, align 8 + %0 = load %struct.xx_stack*, %struct.xx_stack** %next, align 8 %tobool = icmp eq %struct.xx_stack* %0, null br i1 %tobool, label %for.end, label %for.body for.end: %top.0.lcssa = phi %struct.xx_stack* [ undef, %entry ], [ %stack.addr.02, %for.body ] %first = getelementptr inbounds %struct.xx_stack, %struct.xx_stack* %top.0.lcssa, i64 0, i32 0 - %1 = load i32* %first, align 4 + %1 = load i32, i32* %first, align 4 ret i32 %1 }