[PATCH] D114536: [X86][MS] Fix the wrong alignment of vector variable arguments on Win32
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 07:06:37 PST 2021
pengfei created this revision.
pengfei added reviewers: rnk, LiuChen3, LuoYuanke.
Herald added a subscriber: hiraditya.
pengfei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
D108887 <https://reviews.llvm.org/D108887> fixed alignment mismatch by changing the caller's alignment in
ABI. However, we found some cases that still assume the alignment is
vector size. This patch fixes them to avoid the runtime crash.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114536
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/test/CodeGen/X86/vaargs-win32.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114536.389489.patch
Type: text/x-patch
Size: 5883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/a3d01d66/attachment.bin>
More information about the llvm-commits
mailing list