[PATCH] D121696: [AMDGPU][MC][NFC] Refactored custom operands handling

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 10:33:24 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h:29
+  int Encoding = 0;
+  bool (*Cond)(T Context) = nullptr;
+};
----------------
Instead of a callback could you use a mask of required features?


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

https://reviews.llvm.org/D121696



More information about the llvm-commits mailing list