[all-commits] [llvm/llvm-project] 457c9a: [TableGen] Simplify how we calculate NumMIOperands...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jun 27 14:59:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 457c9aec9e845d09202ed8de83be122b9b58d2d7
      https://github.com/llvm/llvm-project/commit/457c9aec9e845d09202ed8de83be122b9b58d2d7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/utils/TableGen/CompressInstEmitter.cpp

  Log Message:
  -----------
  [TableGen] Simplify how we calculate NumMIOperands in addDagOperandMapping. NFC

We can use the MIOperandNo and NumMIOperands from the last operand
instead using a loop.


  Commit: 9a93de58f7f3670d106a9910976e967564b6883d
      https://github.com/llvm/llvm-project/commit/9a93de58f7f3670d106a9910976e967564b6883d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/utils/TableGen/CompressInstEmitter.cpp

  Log Message:
  -----------
  [TableGen] Simplify copying OperandMap entries for tied operands in CompressInstEmitter. NFC

Copy the whole struct instead of copying both fields.


Compare: https://github.com/llvm/llvm-project/compare/8bc61cbfde28...9a93de58f7f3

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