[PATCH] D94144: [RISCV] Support vscale intrinsic and ISDNode.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 19:51:57 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:2330
 
+def : Pat<(int_vscale), (read_vscale)>;
+def : Pat<(vscale 0), (i64 X0)>;
----------------
I think int_vscale becomes (vscale 1) in SelectionDAGBuilder so we can probably drop this pattern?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94144



More information about the llvm-commits mailing list