[PATCH] D131254: [AMDGPU][GISel] Enable Selection of ADD3 for G_PTR_ADD

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 02:06:45 PDT 2022


Pierre-vh added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/VOP3Instructions.td:459
+
+      // FIX: Somehow my changes made this predicate run before the
+      // Feature check, so it crashes without this.
----------------
foad wrote:
> Should be "FIXME". But it would be good to understand and fix this before committing.
I'd also like to understand why too but so far I haven't found an answer. It seems like the GlobalISelEmitter is just emitting the feature check in the operand instruction matcher and not in the "parent" block.

Maybe @arsenm has an idea?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131254



More information about the llvm-commits mailing list