[all-commits] [llvm/llvm-project] 6fa1a2: [X86] Fix callee side of receiving byval args on t...
Hans via All-commits
all-commits at lists.llvm.org
Fri Jun 16 05:18:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6fa1a2c084ea877c782987169649cac111c3d463
https://github.com/llvm/llvm-project/commit/6fa1a2c084ea877c782987169649cac111c3d463
Author: Hans Wennborg <hans at chromium.org>
Date: 2023-06-16 (Fri, 16 Jun 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/win64-byval.ll
Log Message:
-----------
[X86] Fix callee side of receiving byval args on the stack
See the discussion in
https://discourse.llvm.org/t/generic-llvm-ir-windows-x64-argument-passing-issue-in-llvm-11-0-0-and-later/71350
D51842 implemented byval lowering for Win64. D83175 made the call
lowering honor the "from now on treat this as a regular pointer" comment
also when the argument gets passed on the stack. However, it didn't
update the callee side.
Differential revision: https://reviews.llvm.org/D153020
More information about the All-commits
mailing list