[all-commits] [llvm/llvm-project] 199bbe: [MC] Teach checkAsmTiedOperandConstraints about op...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Fri Mar 1 02:00:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 199bbe2b380b6fa4a23932739ae55f8890af459b
      https://github.com/llvm/llvm-project/commit/199bbe2b380b6fa4a23932739ae55f8890af459b
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

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

  Log Message:
  -----------
  [MC] Teach checkAsmTiedOperandConstraints about optional operands (#81381)

At some point in the past, optional operands have become allowed in the
middle of an instruction. However, `checkAsmTiedOperandConstrains`
hasn't been modified to support this. This patch adds the support by
pulling operand offsets counting out of `convertToMCInst` and reusing it
in `checkAsmTiedOperandConstrains`.



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