[all-commits] [llvm/llvm-project] 8e2f16: [TableGen] Use llvm_unreachable in switch guard fo...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Tue Jun 23 10:16:27 PDT 2026


  Branch: refs/heads/users/kparzysz/unreachable-guard-again
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e2f16a9d7aa14f790893b75070cd702ce0c0bef
      https://github.com/llvm/llvm-project/commit/8e2f16a9d7aa14f790893b75070cd702ce0c0bef
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

  Log Message:
  -----------
  [TableGen] Use llvm_unreachable in switch guard for all except gcc 8-

Follow-up to https://github.com/llvm/llvm-project/pull/194728.

For gccs older than v9 use abort. That seems to make everybody happy.



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