[PATCH] D93669: [AMDGPU] Support unaligned flat scratch in TLI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 07:00:06 PST 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:1479
+    return AlignedBy4 ||
+           Subtarget->enableFlatScratch() ||
+           Subtarget->hasUnalignedScratchAccess();
----------------
Does it really only work if accessed through the flat instructions? I thought it would even through MUBUF


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

https://reviews.llvm.org/D93669



More information about the llvm-commits mailing list