[all-commits] [llvm/llvm-project] 6289cb: TableGen: Deterministically order predicate groups...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 17 12:03:45 PDT 2026


  Branch: refs/heads/users/arsenm/runtime-libcalls/fix-unstable-predicate-sort
  Home:   https://github.com/llvm/llvm-project
  Commit: 6289cb4df95ca3b8ab900cfe5093464a0c7ed91c
      https://github.com/llvm/llvm-project/commit/6289cb4df95ca3b8ab900cfe5093464a0c7ed91c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    A llvm/test/TableGen/RuntimeLibcallEmitter-predicate-cc-sort.td
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  TableGen: Deterministically order predicate groups by calling convention

The predicate-group sort in emitSystemRuntimeLibrarySetCalls keyed only on the
predicate name, so two groups sharing a predicate name but differing in calling
convention (e.g. isOSWindows with the default CC vs ARM_AAPCS) tied and could
emit in an unstable order. Break the tie on the calling convention name so the
generated output is deterministic.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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