[all-commits] [llvm/llvm-project] 3bbfa7: [SCEVExpander] Mark selects with unknown profile. ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Sep 22 02:28:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bbfa7173bbfb0a231674822efb84a3e0b9f8c23
      https://github.com/llvm/llvm-project/commit/3bbfa7173bbfb0a231674822efb84a3e0b9f8c23
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/test/Transforms/LoopVectorize/scev-check-unknown-prof.ll

  Log Message:
  -----------
  [SCEVExpander] Mark selects with unknown profile. (#224362)

SCEVExpander creates selects when expanding min/max expressions for
pointers and predicates. In neither case there is any information on how
likely either arm of the select is. Annotate with unknown profile.

This is part of addressing the remaining profcheck failures in
LoopVectorize: https://github.com/llvm/llvm-project/issues/161235.

PR: https://github.com/llvm/llvm-project/pull/224362



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list