summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/stack-realign-kernel.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Clean up update_llc_test_checks CodeGen testsScott Linder2019-10-241-1/+0
| | | | | | | | | | | | | | Summary: Some tests have been hand edited without removing the update_llc_test_checks header, some have slightly outdated CHECK lines which still pass, and some have additional comments which update_llc_test_checks pushes towards the function body. Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69402
* AMDGPU: Disable stack realignment for kernelsMatt Arsenault2019-06-031-0/+294
This is something of a workaround, and the state of stack realignment controls is kind of a mess. Ideally, we would be able to specify the stack is infinitely aligned on entry to a kernel. TargetFrameLowering provides multiple controls which apply at different points. The StackRealignable field is used during SelectionDAG, and for some reason distinct from this hook. StackAlignment is a single field not dependent on the function. It would probably be better to make that dependent on the calling convention, and the maximum value for kernels. Currently this doesn't really change anything, since the frame lowering mostly does its own thing. This helps avoid regressions in a future change which will rely more heavily on hasFP. llvm-svn: 362447
OpenPOWER on IntegriCloud