Alex MacLean 28318d5db8
[NVPTX] Split out NVPTXSetByValParamAlign of NVPTXLowerArgs (NFC) (#187965)
This logic was previously embedded in NVPTXLowerArgs, but is split into
a separate pass as it is an optional optimization orthogonal to kernel
parameter lowering. This pass can be run earlier making alignment
available to generic IR passes (like infer-alignment) and a separate
pass makes the alignment logic independently testable. It also
simplifies NVPTXLowerArgs by removing the duplicate handling of
alignment for kernel vs. device functions.
2026-03-25 13:09:24 -07:00
..