[all-commits] [llvm/llvm-project] 2aa732: [X86][MS] Fix the wrong alignment of vector variab...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Sat Feb 12 18:23:34 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aa732a9183b8fa23c103c169a5da0e90cc67cf5
  Author: Phoebe Wang <pengfei.wang at intel.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vaargs-win32.ll
    M llvm/test/CodeGen/X86/win32-spill-xmm.ll

  Log Message:
  [X86][MS] Fix the wrong alignment of vector variable arguments on Win32

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.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D114536

More information about the All-commits mailing list