aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-01-07 12:22:23 +0700
committerGitHub <noreply@github.com>2025-01-07 12:22:23 +0700
commit8c0483bba2d25ae7e4b6cac150dba9447dfed59c (patch)
tree61d05dcd2c85c933e723a243eb6274d33b023026 /clang/lib/Frontend/InitPreprocessor.cpp
parent93e63460a2958c253dcbb7681faa532962a306bc (diff)
downloadllvm-8c0483bba2d25ae7e4b6cac150dba9447dfed59c.zip
llvm-8c0483bba2d25ae7e4b6cac150dba9447dfed59c.tar.gz
llvm-8c0483bba2d25ae7e4b6cac150dba9447dfed59c.tar.bz2
RegisterCoalescer: Fix assert on remat to copy-to-physreg with subregs (#121734)
Do not try to rematerialize a super-register def used by a subregister extract copy into a copy to a physical register if the other pieces of the full physreg are live at the rematerialization point. It would insert the super-register def at the rematerialization point, and assert since the other half of the register was already live. This is analagous to the undef subregister def handling above, which handled the virtual register case. Fixes #120970
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions