[PATCH] D124144: [RISCV][SelectionDAG] Support VP_ADD/VP_MUL/VP_SUB mask operations

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 09:03:24 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:8835
 
+  // Check VP_ADD/VP_SUB/VP_MUL mask operations
+  // then turn it to VP_XOR or VP_AND
----------------
Why not make this part of the switch? You don't need the VTList. This function only receives one VT.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124144



More information about the llvm-commits mailing list