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

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 13:11:46 PST 2022


Joe_Nash added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/VOPCInstructions.td:268
+    // opName, this is likely to be a v_cmpx instruction.
+    let IsVCMPX = !ne(!subst("v_cmpx", "v_cmp", opName), opName);
   }
----------------
I think this can be 
"let IsVCMPX = 1;"
Maybe it happened when you inverted the table to have IsVCMPX instead of isVCMP.


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