llvm-project
66e0498d - [GlobalISel] Do not run verifier after ResetMachineFunctionPass (#124799)

Commit
248 days ago
[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.
Author
Parents
Loading