[PATCH] D122637: [RISCV] Trim RVV isel pats matchable via DAG post-process

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 00:00:20 PDT 2022


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

In D122512 <https://reviews.llvm.org/D122512>, several masked patterns were added to support lowering of
vector-predicated float-to-int and int-to-float conversions. With the
introduction of these patterns, all of the old "unmasked" patterns are
matchable via the DAG post-process introduced in D118810 <https://reviews.llvm.org/D118810>, once the relevant
opcode entries are set up in the helper table.

Locally this reduces the generated isel table by 4%.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122637

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122637.418802.patch
Type: text/x-patch
Size: 7583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220329/ab8b40a7/attachment.bin>


More information about the llvm-commits mailing list