[PATCH] D95491: [RISCV] Group the legal vector types into lists we can iterator over in the RISCVISelLowering constructor
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 16:16:41 PST 2021
craig.topper created this revision.
craig.topper added reviewers: frasercrmck, evandro, HsiangKai.
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.
Remove the RISCVVMVTs namespace because I don't think it provides
a lot of value. If we change the mappings we'd likely have to add
or remove things from the list anyway.
Add a wrapper around addRegisterClass that can determine the
register class from the fixed size of the type.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95491
Files:
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95491.319430.patch
Type: text/x-patch
Size: 12084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/caa999b0/attachment.bin>
More information about the llvm-commits
mailing list