[llvm] [NVPTX] fixup support for unaligned parameters and returns (PR #82562)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 14:08:35 PST 2024


Artem-B wrote:

Looks like I did commit the original test, but I suspect I may just have been a messenger and only documented the discovered issue. Thank you for taking care of it.

The patch itself LGTM.

That said, considering that we've survived for so long with nobody noticing the issue, and that the fix is nontrivial, perhaps it may be better to disallow or ignore unaligned arguments? Did you run into any real use cases where parameter/return alignment was an issue?


https://github.com/llvm/llvm-project/pull/82562


More information about the llvm-commits mailing list