[PATCH] D94459: [RISCV] Use vmerge.vim for llvm.riscv.vfmerge with a 0.0 scalar operand.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 16:07:40 PST 2021


craig.topper created this revision.
craig.topper added reviewers: evandro, HsiangKai, frasercrmck.
Herald added subscribers: NickHung, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

We can use a 0 immediate to avoid needing to materialize 0 into
an FPR first.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94459

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/CodeGen/RISCV/rvv/vfmerge-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vfmerge-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94459.315958.patch
Type: text/x-patch
Size: 15236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/e5eb2f80/attachment.bin>


More information about the llvm-commits mailing list