]> granicus.if.org Git - clang/commitdiff
Fix clang/test/CodeGenCXX/strict-vtable-pointers.cpp for -Asserts. It missed somethin...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 3 Oct 2015 00:50:12 +0000 (00:50 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 3 Oct 2015 00:50:12 +0000 (00:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249223 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/strict-vtable-pointers.cpp

index 38cb2b488db98fcc62364693b1bc51bac08c098e..ee3919149cabec8df64c760b4199dcf1b001ce03 100644 (file)
@@ -142,7 +142,7 @@ struct DynamicDerived;
 // CHECK-CTORS: %[[THIS1:.*]] = bitcast %[[DynamicDerived:.*]]* %[[THIS0]] to i8*
 // CHECK-CTORS: %[[THIS2:.*]] = call i8* @llvm.invariant.group.barrier(i8* %[[THIS1:.*]])
 // CHECK-CTORS: %[[THIS3:.*]] = bitcast i8* %[[THIS2]] to %[[DynamicDerived]]*
-// CHECK-CTORS: %[[THIS4:.*]] = bitcast %[[DynamicDerived]]* %2 to %[[DynamicBase:.*]]*
+// CHECK-CTORS: %[[THIS4:.*]] = bitcast %[[DynamicDerived]]* %[[THIS3]] to %[[DynamicBase:.*]]*
 // CHECK-CTORS: call void @_ZN12DynamicBase1C2Ev(%[[DynamicBase]]* %[[THIS4]])
 
 // CHECK-CTORS: %[[THIS5:.*]] = bitcast %struct.DynamicDerived* %[[THIS0]] to i32 (...)***