[PATCH] D119696: [AMDGPU] Improve v_cmpx usage on GFX10.3.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 06:51:45 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp:320
+
+      if (!I.getOperand(0).isReg())
+        continue;
----------------
Look at the def operands directly instead? Also since this is post-SSA you need to defend against subregisters


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119696



More information about the llvm-commits mailing list