Skip to content

[LLVM] Make MachineBlockFrequencyInfo's constructor arguments const (NFC)#149279

Merged
lucas-rami merged 1 commit into
llvm:mainfrom
lucas-rami:mbfi-const-constructor
Jul 18, 2025
Merged

[LLVM] Make MachineBlockFrequencyInfo's constructor arguments const (NFC)#149279
lucas-rami merged 1 commit into
llvm:mainfrom
lucas-rami:mbfi-const-constructor

Conversation

@lucas-rami

Copy link
Copy Markdown
Contributor

This avoids having to call MachineBlockFrequencyInfo::calculate manually if one of the parameters is const.

@lucas-rami lucas-rami merged commit ee8756e into llvm:main Jul 18, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants