[PATCH] D122263: [AMDGPU] gfx940 MAI hazard recognizer

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 06:42:33 PDT 2022


Joe_Nash added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp:115
+
+  switch (Opcode) {
+  case AMDGPU::V_MFMA_F32_16X16X8XF32_e64:
----------------
Is this equivalent to isMAI? If not, perhaps you could use a GenericTable to create a lookup if an instruction is relevant here, and mark the instructions in tablegen. It would be more maintainable.


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

https://reviews.llvm.org/D122263



More information about the llvm-commits mailing list