[llvm] r298280 - Add missing updated test from VN coercion changes. Instructions were renamed. NFC

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 11:04:19 PDT 2017


Author: dannyb
Date: Mon Mar 20 13:04:19 2017
New Revision: 298280

URL: http://llvm.org/viewvc/llvm-project?rev=298280&view=rev
Log:
Add missing updated test from VN coercion changes. Instructions were renamed. NFC

Modified:
    llvm/trunk/test/Transforms/GVN/invariant.group.ll

Modified: llvm/trunk/test/Transforms/GVN/invariant.group.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/invariant.group.ll?rev=298280&r1=298279&r2=298280&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GVN/invariant.group.ll (original)
+++ llvm/trunk/test/Transforms/GVN/invariant.group.ll Mon Mar 20 13:04:19 2017
@@ -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
 }




More information about the llvm-commits mailing list