[llvm] [NVPTX] fixup support for over-aligned parameters (PR #92457)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 15:30:16 PDT 2024
================
@@ -296,37 +298,44 @@ bool isKernelFunction(const Function &F) {
return (x == 1);
}
-bool getAlign(const Function &F, unsigned index, unsigned &align) {
+MaybeAlign getAlign(const Function &F, unsigned Index) {
+ // First check the alignstack metadata
+ if (MaybeAlign AlignStack =
----------------
Artem-B wrote:
Nit: In some places you're using StackAligh, in others AlignStack. It might be good to settle on one variant when we're dealing with the same info.
https://github.com/llvm/llvm-project/pull/92457
More information about the llvm-commits
mailing list