From: Daniel Berlin Date: Mon, 20 Mar 2017 18:04:19 +0000 (+0000) Subject: Add missing updated test from VN coercion changes. Instructions were renamed. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4a2b00680cd3b61550a572cc2a9b5dec58acc20;p=llvm Add missing updated test from VN coercion changes. Instructions were renamed. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298280 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/GVN/invariant.group.ll b/test/Transforms/GVN/invariant.group.ll index 6f1f357cad6..570519bec52 100644 --- a/test/Transforms/GVN/invariant.group.ll +++ b/test/Transforms/GVN/invariant.group.ll @@ -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 }