[PATCH] D134456: [PGO] Consider parent context when weighing branches with likelyhood.

Anton Bikineev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 03:43:40 PDT 2022


AntonBikineev added a comment.

> Do users have some other escape hatch to tell PGO "ignore what you think you know about this branch" so that a user who *wants* PGO to lose has some ability to do that other than "don't use PGO"?

Sounds like we need another proposal for [[always_likely]] :)
I understand both pros and cons of PGO having preference. However, whatever solution we stick to, I'd prefer it to be consistent.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134456/new/

https://reviews.llvm.org/D134456



More information about the cfe-commits mailing list