diff options
author | Jay Foad <jay.foad@amd.com> | 2024-02-15 10:39:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 10:39:05 +0000 |
commit | 2df652a69159b76c97cfd94e32ad6bb71dde716c (patch) | |
tree | 10643c6a1b84177d1dab4d47e6a8980d63937482 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 97c19a46cd177b19667a65db8720e92ff91c7b2e (diff) | |
download | llvm-2df652a69159b76c97cfd94e32ad6bb71dde716c.zip llvm-2df652a69159b76c97cfd94e32ad6bb71dde716c.tar.gz llvm-2df652a69159b76c97cfd94e32ad6bb71dde716c.tar.bz2 |
[CodeGen] Simplify updateLiveIn in MachineSink (#79831)
When a whole register is added a basic block's liveins, use
LaneBitmask::getAll for the live lanes instead of trying to calculate an
accurate mask of the lanes that comprise the register.
This simplifies the code and matches other places where a whole register
is marked as livein.
This also avoids problems when regunits that are synthesized by TableGen
to represent ad hoc aliasing have a lane mask of 0.
Fixes #78942
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions