diff options
author | David Green <david.green@arm.com> | 2025-01-29 12:48:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 12:48:11 +0000 |
commit | 66e0498dafbfa7f8fd7deaa88ae62bdf38a12113 (patch) | |
tree | f9748c96e8289ef852ca7849836a6b50790174b6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 983562d8c521620e44e1e4080325193b4ff54a92 (diff) | |
download | llvm-66e0498dafbfa7f8fd7deaa88ae62bdf38a12113.zip llvm-66e0498dafbfa7f8fd7deaa88ae62bdf38a12113.tar.gz llvm-66e0498dafbfa7f8fd7deaa88ae62bdf38a12113.tar.bz2 |
[GlobalISel] Do not run verifier after ResetMachineFunctionPass (#124799)
After we fall back from GlobalISel to SDAG, the verifier gets called,
which calls getReservedRegs which uses SIMachineFunctionInfo::usesAGPRs
which caches the result of UsesAGPRs. Because we have just fallen-back
the function is empty and it incorrectly gets cached to false. This
patch makes sure we don't try to run the verifier whilst the function is
empty.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions