clang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp: Fix for -Asserts, like CHECK64...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jul 2014 04:12:34 +0000 (04:12 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jul 2014 04:12:34 +0000 (04:12 +0000)
llvm-svn: 214014

clang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp

index 288f3c6..9bcfb9c 100644 (file)
@@ -16,7 +16,7 @@ C::C() {} // force emission
 
 // CHECK32-LABEL: define linkonce_odr x86_thiscallcc void @"\01?foo@C@byval_thunk@@W3AEXUAgg@2@@Z"
 // CHECK32:             (%"struct.byval_thunk::C"* %this, <{ %"struct.byval_thunk::Agg" }>* inalloca)
-// CHECK32:   %2 = getelementptr i8* %{{.*}}, i32 -4
+// CHECK32:   getelementptr i8* %{{.*}}, i32 -4
 // CHECK32:   musttail call x86_thiscallcc void @"\01?foo@C@byval_thunk@@UAEXUAgg@2@@Z"
 // CHECK32:       (%"struct.byval_thunk::C"* %{{.*}}, <{ %"struct.byval_thunk::Agg" }>* inalloca %0)
 // CHECK32-NEXT: ret void