[PATCH] D128271: [RISCV][NFC] Map pseudos to their BaseInstr to reduce cases

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 06:12:03 PDT 2022


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

There are a lot of cases for pseudos of the same instruction, here
we just use existed mapping table to map pseudos to real instructions
to reduce cases.

I think this change is a NFC except the concern about _TU pseudos.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128271

Files:
  llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128271.438674.patch
Type: text/x-patch
Size: 9334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220621/35773a10/attachment.bin>


More information about the llvm-commits mailing list