summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/param-align.ll
Commit message (Collapse)AuthorAgeFilesLines
* [NVPTX] Make sure we adjust alignment at all call sitesArtem Belevich2016-07-181-0/+11
| | | | | | | .. including calls from kernel functions that were ignored by mistake before. llvm-svn: 275920
* [NVPTX] Force minimum alignment of 4 for byval arguments of device-side ↵Artem Belevich2016-07-181-0/+8
| | | | | | | | | | | | | | | | functions. Taking address of a byval variable in PTX is legal, but currently runs into miscompilation by ptxas on sm_50+ (NVIDIA issue 1789042). Work around the issue by enforcing minimum alignment on byval arguments of device functions. The change is a no-op on SASS level for sm_3x where ptxas already aligns local copy by at least 4. Differential Revision: https://reviews.llvm.org/D22428 llvm-svn: 275893
* [NVPTX] Use ABI alignment for parameters when alignment is not specified.Justin Holewinski2012-11-091-0/+25
Affects SM 2.0+. Fixes bug 13324. llvm-svn: 167646
OpenPOWER on IntegriCloud