r302757 - clang/test/CodeGenCXX/array-default-argument.cpp: Satisfy targets that have x86_thiscallcc.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 19:39:30 PDT 2017


Author: chapuni
Date: Wed May 10 21:39:30 2017
New Revision: 302757

URL: http://llvm.org/viewvc/llvm-project?rev=302757&view=rev
Log:
clang/test/CodeGenCXX/array-default-argument.cpp: Satisfy targets that have x86_thiscallcc.

Modified:
    cfe/trunk/test/CodeGenCXX/array-default-argument.cpp

Modified: cfe/trunk/test/CodeGenCXX/array-default-argument.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/array-default-argument.cpp?rev=302757&r1=302756&r2=302757&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/array-default-argument.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/array-default-argument.cpp Wed May 10 21:39:30 2017
@@ -17,11 +17,11 @@ void g() {
   // CHECK: br label %[[LOOP:.*]]
 
   // [[LOOP]]:
-  // CHECK: {{call|invoke}} void @_ZN1AC1Ev([[TEMPORARY:.*]])
+  // CHECK: {{call|invoke}}[[THISCALL:( x86_thiscallcc)?]] void @_ZN1AC1Ev([[TEMPORARY:.*]])
   // CHECK-EH:  unwind label %[[PARTIAL_ARRAY_LPAD:.*]]
-  // CHECK: {{call|invoke}} void @_ZN1BC1E1A({{.*}}, [[TEMPORARY]])
+  // CHECK: {{call|invoke}}[[THISCALL]] void @_ZN1BC1E1A({{.*}}, [[TEMPORARY]])
   // CHECK-EH:  unwind label %[[A_AND_PARTIAL_ARRAY_LPAD:.*]]
-  // CHECK: {{call|invoke}} void @_ZN1AD1Ev([[TEMPORARY]])
+  // CHECK: {{call|invoke}}[[THISCALL]] void @_ZN1AD1Ev([[TEMPORARY]])
   // CHECK-EH:  unwind label %[[PARTIAL_ARRAY_LPAD]]
   // CHECK: getelementptr {{.*}}, i{{[0-9]*}} 1
   // CHECK: icmp eq
@@ -32,5 +32,5 @@ void g() {
   f();
 
   // CHECK-NOT: @_ZN1AD1Ev(
-  // CHECK: {{call|invoke}} void @_ZN1BD1Ev(
+  // CHECK: {{call|invoke}}[[THISCALL]] void @_ZN1BD1Ev(
 }




More information about the cfe-commits mailing list