[all-commits] [llvm/llvm-project] 5d589f: [MLIR][Interfaces] Remove negative branch weight v...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Fri Jul 11 05:02:02 PDT 2025


  Branch: refs/heads/users/dinistro/remove-negative-branch-weight-verifier
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d589f1962cfa0e944aa2f035d426acd2978b4a5
      https://github.com/llvm/llvm-project/commit/5d589f1962cfa0e944aa2f035d426acd2978b4a5
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
    M mlir/lib/Interfaces/ControlFlowInterfaces.cpp
    M mlir/test/Dialect/ControlFlow/invalid.mlir

  Log Message:
  -----------
  [MLIR][Interfaces] Remove negative branch weight verifier

This commit removes the verifier that checked if branch weights are
negative. This check was too strict because weights are interpreted as
unsigned integers.

This showed up when running the verifier on LLVM dialect modules that
were imported from LLVM IR.



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