aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-10-23 11:05:39 +0800
committerGitHub <noreply@github.com>2025-10-23 03:05:39 +0000
commit6f147445f7cfa8b5f09f154b63ef8073ed6243a1 (patch)
treebac7540e8994f06cc6b70f3f1ab4d5764597693a /clang/lib/Frontend/CompilerInvocation.cpp
parent4903a1fb0738f1b86da70482bfc9ff9425564377 (diff)
downloadllvm-6f147445f7cfa8b5f09f154b63ef8073ed6243a1.zip
llvm-6f147445f7cfa8b5f09f154b63ef8073ed6243a1.tar.gz
llvm-6f147445f7cfa8b5f09f154b63ef8073ed6243a1.tar.bz2
[RegAlloc] Constrain rematted regclass to use (#164386)
When rematting we create a new virtual register with the original def's register class. However the use may have a different register class if the interval is split, which means we end up with an invalid register class. This fixes #164181 by constraining the newly created register to the use's register class. The test case is reduced as far as it goes. Because this test requires us to reach a certain amount of register pressure in certain conditions I'm not sure if there's an easy way to handwrite this scenario.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions