[PATCH] D31161: [AMDGPU] New Waitcnt Insertion Pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 12:15:52 PST 2020


arsenm closed this revision.
arsenm added inline comments.
Herald added subscribers: kerbowa, jfb, jvesely.


================
Comment at: lib/Target/AMDGPU/SIInsertWaitcnts.cpp:568-579
+#if 0 // TODO: check if this is handled by MUBUF code above.
+  } else if (Inst.getOpcode() == AMDGPU::BUFFER_STORE_DWORD ||
+	     Inst.getOpcode() == AMDGPU::BUFFER_STORE_DWORDX2 ||
+	     Inst.getOpcode() == AMDGPU::BUFFER_STORE_DWORDX4) {
+    MachineOperand *MO = TII->getNamedOperand(Inst, AMDGPU::OpName::data);
+    unsigned OpNo;//TODO: find the OpNo for this operand;
+    RegInterval Interval = getRegInterval(&Inst, TII, MRI, TRI, OpNo, false);
----------------
This can be deleted


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

https://reviews.llvm.org/D31161





More information about the llvm-commits mailing list