[PATCH] D153101: [SPIR-V] Simplify regclasses hierarchy and cleanup regbanks
Aleksandr Bezzubikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 22:05:31 PDT 2023
zuban32 created this revision.
Herald added subscribers: ThomasRaoux, hiraditya.
Herald added a project: All.
zuban32 requested review of this revision.
Herald added a reviewer: mpaszkowski.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The subset of SPIR-V instructions we have a dag pattern for
allows us to distinguish between integer and float versions
of instructions basing on existing constraints (different
GMIR opcodes for integer/FP versions of instructions + type inference),
so FP regclasses are redundant and can be removed.
And since SPIR-V is a virtual ISA it only needs a single regbank
to support instruction selection.
Depends on D153099 <https://reviews.llvm.org/D153099> and D153100 <https://reviews.llvm.org/D153100>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153101
Files:
llvm/lib/Target/SPIRV/SPIRVInstrInfo.cpp
llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
llvm/lib/Target/SPIRV/SPIRVRegisterBankInfo.cpp
llvm/lib/Target/SPIRV/SPIRVRegisterBanks.td
llvm/lib/Target/SPIRV/SPIRVRegisterInfo.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153101.531986.patch
Type: text/x-patch
Size: 15083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230616/3443d021/attachment.bin>
More information about the llvm-commits
mailing list