llvm-project
73985911 - [CodeGen] Add skipFunction() check to MachineFunctionSplitter (#166260)

Commit
64 days ago
[CodeGen] Add skipFunction() check to MachineFunctionSplitter (#166260) MachineFunctionSplitter was missing a skipFunction() check, causing it to incorrectly split functions that should be skipped (e.g., functions with optnone attribute). This patch adds an early skipFunction() check in runOnMachineFunction() to ensure these functions are never split, regardless of profile data availability or other splitting conditions.
Author
Parents
Loading