[PATCH] Make variable argument intrinsics behave correctly in a Win64 CC function.

Evgeniy Stepanov eugenis at google.com
Sun Sep 8 23:55:46 PDT 2013



================
Comment at: lib/Transforms/Instrumentation/MemorySanitizer.cpp:1924
@@ -1923,1 +1923,3 @@
   void visitVAStartInst(VAStartInst &I) {
+    if (I.getParent()->getParent()->getCallingConv() ==
+        CallingConv::X86_64_Win64)
----------------
I'd prefer if this was done in CreateVarArgHelper() by selecting VarArgNoOpHelper for Win64.



http://llvm-reviews.chandlerc.com/D1622



More information about the llvm-commits mailing list