[PATCH] D33068: AMDGPU: Start adding global_* instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 02:41:59 PDT 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/FLATInstructions.td:116
 
+class FLAT_Global_Load_Pseudo<string opName, RegisterClass regClass> :
+  FLAT_Load_Pseudo<opName, regClass, 1> {
----------------
A second reading of the manual suggests we need to define a version with the SADDR bit set which converts vaddr to a 32-bit address and ands an SGPR offset, but this can be done separately


https://reviews.llvm.org/D33068





More information about the llvm-commits mailing list