[PATCH] D141737: [NVPTX] Unforce minimum alignment of 4 for byval arguments of device-side functions.
Pavel Kopyl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 16:48:12 PST 2023
pavelkopyl created this revision.
Herald added subscribers: mattd, gchakrabarti, asavonic, hiraditya.
Herald added a project: All.
pavelkopyl requested review of this revision.
Herald added subscribers: llvm-commits, jholewinski.
Herald added a project: LLVM.
Minimum alignment of 4 for byval arguments was forced to workaround
a bug in old versions of ptxas. Details: https://reviews.llvm.org/D22428.
Fresh ptxas (> 9.0) versions does not seem to have this bug, so alignment
requirement was relaxed. To force again minimum alignment of 4, use
'-force-min-byval-param-align' option.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141737
Files:
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/test/CodeGen/NVPTX/call_bitcast_byval.ll
llvm/test/CodeGen/NVPTX/param-align.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141737.489153.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230114/4134a8ef/attachment.bin>
More information about the llvm-commits
mailing list