[all-commits] [llvm/llvm-project] 371287: [TableGen] Fix calculation of Lanemask for RCs wit...
Sander de Smalen via All-commits
all-commits at lists.llvm.org
Mon Nov 4 07:55:10 PST 2024
Branch: refs/heads/users/sdesmalen-arm/srlt-fix-tablegen-artificial-subreg-map
Home: https://github.com/llvm/llvm-project
Commit: 371287e3632b8f68a95e4d8863dec37aa850ff1e
https://github.com/llvm/llvm-project/commit/371287e3632b8f68a95e4d8863dec37aa850ff1e
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-11-04 (Mon, 04 Nov 2024)
Changed paths:
M llvm/test/TableGen/ArtificialSubregs.td
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Fix calculation of Lanemask for RCs with artificial subregs.
TableGen builds up a map of "SubRegIdx -> Subclass" where Subclass is
the largest class where all registers have SubRegIdx as a
sub-register. When SubRegIdx (vis-a-vis the sub-register) is
artificial it should still include it in the map. This map is used in
various places, including in the calculation of the Lanemask of a
register class, which otherwise calculates an incorrect lanemask.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list