Use WeakVH to keep track of calls with operand bundles in CloneCodeInfo
[oota-llvm.git] / test / Transforms / GVN / phi-translate-partial-alias.ll
index 84aeed1ecc6e5063732994cdd3a3270aa3214508..f1cf53e45dec6199a7bbcb849c99feac1da9b5de 100644 (file)
@@ -8,18 +8,18 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
 
 ; CHECK: define void @test0(i8* %begin)
 ; CHECK: loop:
-; CHECK:   %l0 = load i8* %phi
+; CHECK:   %l0 = load i8, i8* %phi
 ; CHECK:   call void @bar(i8 %l0)
-; CHECK:   %l1 = load i8* %phi
+; CHECK:   %l1 = load i8, i8* %phi
 define void @test0(i8* %begin) {
 entry:
   br label %loop
 
 loop:
   %phi = phi i8* [ %begin, %entry ], [ %next, %loop ]
-  %l0 = load i8* %phi
+  %l0 = load i8, i8* %phi
   call void @bar(i8 %l0)
-  %l1 = load i8* %phi
+  %l1 = load i8, i8* %phi
   %next = getelementptr inbounds i8, i8* %phi, i8 %l1
   br label %loop
 }