From fd855a691f93fffbf247fd8b0de90b185651409e Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Sun, 9 Mar 2014 07:09:06 +0000 Subject: [PATCH] Update clang to account for changes made to LLVM in r203376 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203377 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/microsoft-abi-arg-order.cpp | 2 +- test/CodeGenCXX/microsoft-abi-exceptions.cpp | 2 +- test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGenCXX/microsoft-abi-arg-order.cpp b/test/CodeGenCXX/microsoft-abi-arg-order.cpp index dff52ae903..01f6f47667 100644 --- a/test/CodeGenCXX/microsoft-abi-arg-order.cpp +++ b/test/CodeGenCXX/microsoft-abi-arg-order.cpp @@ -31,7 +31,7 @@ void call_foo() { // // CHECK-LABEL: define void @"\01?call_foo@@YAXXZ"() // CHECK: call i8* @llvm.stacksave() -// CHECK: %[[argmem:[^ ]*]] = alloca [[argmem_ty]], inalloca +// CHECK: %[[argmem:[^ ]*]] = alloca inalloca [[argmem_ty]] // CHECK: %[[arg3:[^ ]*]] = getelementptr inbounds [[argmem_ty]]* %[[argmem]], i32 0, i32 2 // CHECK: invoke x86_thiscallcc %struct.A* @"\01??0A@@QAE@H@Z"(%struct.A* %[[arg3]], i32 3) // CHECK: %[[arg2:[^ ]*]] = getelementptr inbounds [[argmem_ty]]* %[[argmem]], i32 0, i32 1 diff --git a/test/CodeGenCXX/microsoft-abi-exceptions.cpp b/test/CodeGenCXX/microsoft-abi-exceptions.cpp index ecce71d6c5..60a3514c64 100644 --- a/test/CodeGenCXX/microsoft-abi-exceptions.cpp +++ b/test/CodeGenCXX/microsoft-abi-exceptions.cpp @@ -39,7 +39,7 @@ int HasDeactivatedCleanups() { // WIN32-LABEL: define i32 @"\01?HasDeactivatedCleanups@@YAHXZ"() {{.*}} { // WIN32: %[[isactive:.*]] = alloca i1 // WIN32: call i8* @llvm.stacksave() -// WIN32: %[[argmem:.*]] = alloca [[argmem_ty:<{ %struct.A, %struct.A }>]], inalloca +// WIN32: %[[argmem:.*]] = alloca inalloca [[argmem_ty:<{ %struct.A, %struct.A }>]] // WIN32: %[[arg1:.*]] = getelementptr inbounds [[argmem_ty]]* %[[argmem]], i32 0, i32 1 // WIN32: invoke x86_thiscallcc %struct.A* @"\01??0A@@QAE@XZ" // WIN32: invoke void @"\01?TakeRef@@YAXABUA@@@Z" diff --git a/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp b/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp index 98001370d1..67cd98a34b 100644 --- a/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp +++ b/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp @@ -253,7 +253,7 @@ void bar() { int c = foo(NonTrivial(), b); } // WIN32-LABEL: define void @"\01?bar@test2@@YAXXZ"() {{.*}} { -// WIN32: %[[argmem:[^ ]*]] = alloca [[argmem_ty:<{ %"struct.test2::NonTrivial", %"struct.test2::POD" }>]], inalloca +// WIN32: %[[argmem:[^ ]*]] = alloca inalloca [[argmem_ty:<{ %"struct.test2::NonTrivial", %"struct.test2::POD" }>]] // WIN32: getelementptr inbounds [[argmem_ty]]* %[[argmem]], i32 0, i32 1 // WIN32: call void @llvm.memcpy // WIN32: getelementptr inbounds [[argmem_ty]]* %[[argmem]], i32 0, i32 0 -- 2.40.0