[PATCH] D42203: [AMDGPU] Scratch setup fix on AMDPAL gfx9+ merge shader

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 09:13:49 PST 2018


nhaehnle accepted this revision.
nhaehnle added a comment.

One tiny nitpick, apart from that LGTM.



================
Comment at: lib/Target/AMDGPU/AMDGPUSubtarget.h:859
+  /// reserved by the hardware and user SGPRs start at s8
+  bool hasMergeShaders() const {
+    return getGeneration() >= GFX9;
----------------
Merge**d**, here and elsewhere?


Repository:
  rL LLVM

https://reviews.llvm.org/D42203





More information about the llvm-commits mailing list