[all-commits] [llvm/llvm-project] 521d3e: [BPF][ProfCheck] Fix sink-min-max.ll

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Jul 15 10:28:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 521d3e375ecb81d8b7c2d501496be11bdbd8cec0
      https://github.com/llvm/llvm-project/commit/521d3e375ecb81d8b7c2d501496be11bdbd8cec0
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
    M llvm/test/CodeGen/BPF/sink-min-max.ll
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [BPF][ProfCheck] Fix sink-min-max.ll

In bpf-check-and-opt-ir, llvm.umax and llvm.umin are lowered into
explicit comparisons/i1 bitwise operations involving select. Make sure
to mark the selects as having an explicitly unknown profile given we
cannot infer what is likely/unlikely to avoid profcheck failures.

Reviewers: yonghong-song, mtrofin, eddyz87

Pull Request: https://github.com/llvm/llvm-project/pull/209682



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