[PATCH] D121429: [RISCV] Optimize vfmv.s.f intrinisc with scalar 0.0 to vmv.s.x with x0.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 17:04:25 PST 2022


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, rogfer01, khchen, kito-cheng.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

We already do this for RISCVISD::VFMV_S_F_VL and the vfmv.v.f
intrinsic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121429

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/CodeGen/RISCV/rvv/vfmv.s.f.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121429.414530.patch
Type: text/x-patch
Size: 7938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/ac7062d3/attachment.bin>


More information about the llvm-commits mailing list