[PATCH] D109482: [RISCV] Fold store of vmv.x.s to a vse with VL=1.
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 21 02:17:36 PDT 2021
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:6596
+ SDLoc DL(N);
+ return DAG.getMemIntrinsicNode(
+ RISCVISD::VSE_VL, DL, DAG.getVTList(MVT::Other),
----------------
I was wondering what'd happen if you replaced it with a `ISD::VP_STORE`. Just thinking that a standard node would potentially provide more optimization opportunities compared to a RISCVISD node.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109482/new/
https://reviews.llvm.org/D109482
More information about the llvm-commits
mailing list