[PATCH] D15724: AMDGPU/SI: fix scratch resource register allocation on Tonga & Iceland

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 13:48:38 PST 2016


nhaehnle updated this revision to Diff 43920.
nhaehnle added a comment.

Thanks for the hint regarding inline assembly, that makes the test much nicer.

I dropped the part about XNACK from this patch. With only this patch applied,
the new test should actually still fail, though with a different error message.
The test passes when http://reviews.llvm.org/D15869 is applied as well.

- AMDGPU: add test/CodeGen/AMDGPU/spill-stress.ll
- AMDGPU/SI: Do not move scratch resource register on Tonga & Iceland


http://reviews.llvm.org/D15724

Files:
  lib/Target/AMDGPU/SIFrameLowering.cpp
  test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15724.43920.patch
Type: text/x-patch
Size: 5969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160104/3ac436ae/attachment.bin>


More information about the llvm-commits mailing list