]> granicus.if.org Git - llvm/commitdiff
Add missing updated test from VN coercion changes. Instructions were renamed. NFC
authorDaniel Berlin <dberlin@dberlin.org>
Mon, 20 Mar 2017 18:04:19 +0000 (18:04 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Mon, 20 Mar 2017 18:04:19 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298280 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GVN/invariant.group.ll

index 6f1f357cad65645f5b6fa612319ca32916fac217..570519bec520c13b82f98f70b3b6cfb74dc20b92 100644 (file)
@@ -382,12 +382,12 @@ define void @testNotGlobal() {
 
    %b0 = bitcast i8* %a to i1*
    call void @fooBit(i1* %b0, i1 1)
-; CHECK: %trunc = trunc i8 %b to i1
+; CHECK: %1 = trunc i8 %b to i1
    %2 = load i1, i1* %b0, !invariant.group !0
-; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %trunc)
+; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %1)
    call void @fooBit(i1* %b0, i1 %2)
    %3 = load i1, i1* %b0, !invariant.group !0
-; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %trunc)
+; CHECK-NEXT: call void @fooBit(i1* %b0, i1 %1)
    call void @fooBit(i1* %b0, i1 %3)
    ret void
 }