[PATCH] D73485: [AMDGPU] Simplify DS and SM cases in getMemOperandsWithOffset

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 10:28:25 PST 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:276-277
+      if (!BaseOp) {
+        // DS_CONSUME/DS_APPEND use M0 for the base address, but there is no
+        // operand that we can push to represent that here.
         return false;
----------------
Couldn't this report the implicit m0 read?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73485





More information about the llvm-commits mailing list