Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [NVPTX] Make sure we adjust alignment at all call sites | Artem Belevich | 2016-07-18 | 1 | -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 Belevich | 2016-07-18 | 1 | -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 Holewinski | 2012-11-09 | 1 | -0/+25 |
Affects SM 2.0+. Fixes bug 13324. llvm-svn: 167646 |