summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-04-16 23:25:00 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-04-16 23:25:00 +0000
commit47e7a08734ae659dc8c79589e4b454e855b880bf (patch)
treeaed01f956a49d8005d744d7c63cae75ef6c07961 /test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
parent80cbce09b9403a3b8a9e3c670ff1fef5fbcb56c7 (diff)
[opaque pointer types] Explicit non-pointer type for call expressions
(migration for recent LLVM change to textual IR for calls) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vararg-non-pod-ms-compat.cpp')
-rw-r--r--test/CodeGenCXX/vararg-non-pod-ms-compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp b/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
index 450860e1e6..530a4284b4 100644
--- a/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
+++ b/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
@@ -13,14 +13,14 @@ void test(X x) {
// CHECK-LABEL: define void @"\01?test@@YAXUX@@@Z"
// X86: %[[argmem:[^ ]*]] = alloca inalloca <{ %struct.X }>
- // X86: call void (<{ %struct.X }>*, ...)* bitcast (void (...)* @"\01?vararg@@YAXZZ" to void (<{ %struct.X }>*, ...)*)(<{ %struct.X }>* inalloca %[[argmem]])
+ // X86: call void (<{ %struct.X }>*, ...) bitcast (void (...)* @"\01?vararg@@YAXZZ" to void (<{ %struct.X }>*, ...)*)(<{ %struct.X }>* inalloca %[[argmem]])
// X64: alloca %struct.X
// X64: %[[agg:[^ ]*]] = alloca %struct.X
// X64: %[[valptr:[^ ]*]] = getelementptr %struct.X, %struct.X* %[[agg]], i32 0, i32 0
// X64: %[[val:[^ ]*]] = load i32, i32* %[[valptr]]
- // X64: call void (...)* @"\01?vararg@@YAXZZ"(i32 %[[val]])
+ // X64: call void (...) @"\01?vararg@@YAXZZ"(i32 %[[val]])
// CHECK-NOT: llvm.trap
vararg(x);