[PATCH] D121881: [RISCV][RVV] Select unmaksed TU RVV pseudos in a DAG post-process

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 23:47:10 PDT 2022


arcbbb created this revision.
arcbbb added reviewers: frasercrmck, craig.topper, rogfer01, khchen.
Herald added subscribers: s, VincentWu, luke957, 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.
arcbbb requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Following D118810 <https://reviews.llvm.org/D118810> that reduced the size of ISel table,
this patch optimizes allone-masked RVV pseudos with TU policy and swap them 
out to their unmasked TU pseudos.

It does not handle pseudos which have both TU policy and UNDEF merge operand at the same time.

The logic is covered by the strict fcvt intrinsics tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121881

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121881.416074.patch
Type: text/x-patch
Size: 7724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/2a741412/attachment.bin>


More information about the llvm-commits mailing list