r218647 - clang/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp: Appease -Asserts to skip 1st alloca.

NAKAMURA Takumi geek4civic at gmail.com
Mon Sep 29 16:55:58 PDT 2014


Author: chapuni
Date: Mon Sep 29 18:55:58 2014
New Revision: 218647

URL: http://llvm.org/viewvc/llvm-project?rev=218647&view=rev
Log:
clang/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp: Appease -Asserts to skip 1st alloca.

Modified:
    cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp

Modified: cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp?rev=218647&r1=218646&r2=218647&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp Mon Sep 29 18:55:58 2014
@@ -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]]





More information about the cfe-commits mailing list