[PATCH] D109482: [RISCV] Fold store of vmv.x.s to a vse with VL=1.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 21 16:44:10 PDT 2021
craig.topper updated this revision to Diff 374070.
craig.topper added a comment.
Use VP_STORE. I couldn't copy the MachineMemOperand and had to have getStoreVP rebuild it. This is due to getStoreVP not taking the MemVT as an argument.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109482/new/
https://reviews.llvm.org/D109482
Files:
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109482.374070.patch
Type: text/x-patch
Size: 6025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210921/989b59a1/attachment.bin>
More information about the llvm-commits
mailing list