Skip to content

Conversation

@tgymnich
Copy link
Member

@tgymnich tgymnich commented Nov 5, 2025

  • fix argument order for call to setExplicitlyUnknownBranchWeightsIfProfiled

// cannot be easily determined here, we mark the branch as "unknown" (50/50)
// to prevent misleading optimizations.
setExplicitlyUnknownBranchWeightsIfProfiled(*CondBr, *F, DEBUG_TYPE);
setExplicitlyUnknownBranchWeightsIfProfiled(*CondBr, DEBUG_TYPE, *F);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop the function parameter here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dropped

@tgymnich tgymnich enabled auto-merge (squash) November 5, 2025 18:15
@tgymnich tgymnich disabled auto-merge November 5, 2025 18:15
@tgymnich tgymnich merged commit af0b6b1 into llvm:main Nov 5, 2025
5 of 9 checks passed
@kazutakahirata
Copy link
Contributor

@tgymnich Thank you for fixing this quickly!

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.

5 participants