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

Charles Davis cdavis5x at gmail.com
Mon Jul 27 12:40:28 PDT 2015


cdavis5x updated this revision to Diff 30720.
cdavis5x added a comment.
This revision now requires review to proceed.

Big belated update:

- Rebase onto http://reviews.llvm.org/rL243284.
- Go back to checking if the containing function uses the Win64 ABI. Opaque pointer types make checking the `va_list` type difficult.
- Don't do the "don't save XMM registers" dance in a variadic Win64 ABI function on a SysV platform. (This was something I missed last time.)


http://reviews.llvm.org/D1622

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Transforms/Instrumentation/MemorySanitizer.cpp
  test/CodeGen/X86/x86-64-ms_abi-vararg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1622.30720.patch
Type: text/x-patch
Size: 13611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150727/5b1bf22a/attachment.bin>


More information about the llvm-commits mailing list