[all-commits] [llvm/llvm-project] 3abaed: [TableGen] Replace reachable assertion with error ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Dec 10 16:39:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abaed8086fae30726b1ffb6fbbad69b1d42a7d0
      https://github.com/llvm/llvm-project/commit/3abaed8086fae30726b1ffb6fbbad69b1d42a7d0
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-12-10 (Wed, 10 Dec 2025)

  Changed paths:
    M llvm/test/TableGen/RegClassByHwModeErrors.td
    M llvm/utils/TableGen/Common/InfoByHwMode.cpp

  Log Message:
  -----------
  [TableGen] Replace reachable assertion with error in *ByHwMode

Having duplicate mode entries previously asserted (or silently replaced
the last value with a new one in release builds). Report an error with
a helpful message instead.

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



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