[all-commits] [llvm/llvm-project] d46351: [MLGO] Saturate out-of-range regalloc priority adv...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Thu Sep 17 22:24:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d46351c80ee1b1bf356bdb69318069b94853cddf
      https://github.com/llvm/llvm-project/commit/d46351c80ee1b1bf356bdb69318069b94853cddf
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M llvm/lib/Analysis/models/interactive_host.py
    M llvm/lib/CodeGen/MLRegAllocPriorityAdvisor.cpp
    M llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py
    M llvm/test/CodeGen/MLRegAlloc/interactive-mode.ll

  Log Message:
  -----------
  [MLGO] Saturate out-of-range regalloc priority advice (#224062)

Converting the float advice to unsigned is undefined outside `[0, 2^32)`
interval

Negative advice wrapped to near UINT_MAX and flipped the priority order,
NaN or advice below 1.0 made every priority 0



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