[all-commits] [llvm/llvm-project] 271b33: [TableGen][NFC] Factor early-out range check. (#12...

Jason Eckhardt via All-commits all-commits at lists.llvm.org
Mon Jan 20 17:13:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 271b3383d7d86d5945b13117558cfe600aac3528
      https://github.com/llvm/llvm-project/commit/271b3383d7d86d5945b13117558cfe600aac3528
  Author: Jason Eckhardt <jeckhardt at nvidia.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M llvm/test/TableGen/generic-tables-instruction.td
    M llvm/test/TableGen/generic-tables.td
    M llvm/utils/TableGen/SearchableTableEmitter.cpp

  Log Message:
  -----------
  [TableGen][NFC] Factor early-out range check. (#123645)

Combine the EarlyOut and IsContiguous range check.
Also avoid "comparison is always false" warnings in emitted code when
the lower-bound check is against 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