[all-commits] [llvm/llvm-project] a7dcf3: [Test] Add two tests showing unprofitable case of ...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Mar 28 00:30:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7dcf39f096a98cd1694d98f6f6b46eaade34a0b
      https://github.com/llvm/llvm-project/commit/a7dcf39f096a98cd1694d98f6f6b46eaade34a0b
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    A llvm/test/Transforms/GuardWidening/profile-based-profitability-intrinsics.ll
    A llvm/test/Transforms/GuardWidening/profile-based-profitability_explicit.ll

  Log Message:
  -----------
  [Test] Add two tests showing unprofitable case of Guard Widening

Guard Widening is ignorant about blocks frequency. As result, it may
end up widening conditions from cold/effectively dead code into some
much hotter place, harming average performance.




More information about the All-commits mailing list