forked from OSchip/llvm-project
clang/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp: Appease -Asserts to skip 1st alloca.
llvm-svn: 218647
This commit is contained in:
parent
a4ff361c6f
commit
8c27a52eb8
|
@ -15,6 +15,8 @@ void test(X x) {
|
|||
// X86: %[[argmem:[^ ]*]] = alloca inalloca <{ %struct.X }>
|
||||
// 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* %[[agg]], i32 0, i32 0
|
||||
// X64: %[[val:[^ ]*]] = load i32* %[[valptr]]
|
||||
|
|
Loading…
Reference in New Issue