[all-commits] [llvm/llvm-project] f25c77: [NFC][TableGen] Refine the check in Decoder

xiangzh1 via All-commits all-commits at lists.llvm.org
Thu Feb 9 00:15:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f25c7751ceed2ecbe79949f859a1460170656ee0
      https://github.com/llvm/llvm-project/commit/f25c7751ceed2ecbe79949f859a1460170656ee0
  Author: Xiang1 Zhang <xiang1.zhang at intel.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M llvm/test/TableGen/VarLenDecoder.td
    M llvm/test/TableGen/trydecode-emission.td
    M llvm/test/TableGen/trydecode-emission2.td
    M llvm/test/TableGen/trydecode-emission3.td

  Log Message:
  -----------
  [NFC][TableGen] Refine the check in Decoder
The Opcode occupy 2 bytes in following test, we should use {{[0-9]+}}
to match the total value if it, not a part of it.
OPC_Decode(uleb128 Opcode, uleb128 DIdx)
and so do for OPC_TryDecode.




More information about the All-commits mailing list