[PATCH] D89501: [AMDGPU] flat scratch ST addressing mode on gfx10

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 01:20:58 PDT 2020


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPU.td:1140-1141
 
+def HasFlatScratchSTMode : Predicate<"Subtarget->hasFlatScratchSTMode()">,
+  AssemblerPredicate<(any_of FeatureGFX10_3Insts)>;
+
----------------
I think technically the assembler/disassembler support should be in GFX10.1, it's just that we don't want the compiler to generate them until GFX10.3 because of hardware bugs. Maybe at least add a comment explaining why the predicate is FeatureGFX10_3Insts here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89501/new/

https://reviews.llvm.org/D89501



More information about the llvm-commits mailing list