[PATCH] D126312: [AMDGPU] Fix image opcodes GlobalISel on gfx90a.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 12:29:25 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:1648
+      if (Opcode == -1)
+        report_fatal_error(
+            "requested image instruction is not supported on this GPU");
----------------
Probably should just return false and turn the error message into a debug print


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

https://reviews.llvm.org/D126312



More information about the llvm-commits mailing list