[llvm] 2b44eb9 - [LLVM][TableGen] Fix VarlenDecoder.td to not used fixed opcode values (#136632)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 21 17:46:28 PDT 2025
Author: Rahul Joshi
Date: 2025-04-21T17:46:24-07:00
New Revision: 2b44eb9f56a51a25391319541de750bb9b5c1fc9
URL: https://github.com/llvm/llvm-project/commit/2b44eb9f56a51a25391319541de750bb9b5c1fc9
DIFF: https://github.com/llvm/llvm-project/commit/2b44eb9f56a51a25391319541de750bb9b5c1fc9.diff
LOG: [LLVM][TableGen] Fix VarlenDecoder.td to not used fixed opcode values (#136632)
Added:
Modified:
llvm/test/TableGen/VarLenDecoder.td
Removed:
################################################################################
diff --git a/llvm/test/TableGen/VarLenDecoder.td b/llvm/test/TableGen/VarLenDecoder.td
index 0ca5c6ce53506..db7a520533e85 100644
--- a/llvm/test/TableGen/VarLenDecoder.td
+++ b/llvm/test/TableGen/VarLenDecoder.td
@@ -56,9 +56,9 @@ def FOO32 : MyVarInst<MemOp32> {
// CHECK-LARGE: /* 0 */ MCD::OPC_ExtractField, 3, 5, // Inst{7-3} ...
// CHECK-LARGE-NEXT: /* 3 */ MCD::OPC_FilterValue, 8, 4, 0, 0, // Skip to: 12
-// CHECK-LARGE-NEXT: /* 8 */ MCD::OPC_Decode, 178, 2, 0, // Opcode: FOO16
+// CHECK-LARGE-NEXT: /* 8 */ MCD::OPC_Decode, {{[0-9]+}}, {{[0-9]+}}, 0, // Opcode: FOO16
// CHECK-LARGE-NEXT: /* 12 */ MCD::OPC_FilterValue, 9, 4, 0, 0, // Skip to: 21
-// CHECK-LARGE-NEXT: /* 17 */ MCD::OPC_Decode, 179, 2, 1, // Opcode: FOO32
+// CHECK-LARGE-NEXT: /* 17 */ MCD::OPC_Decode, {{[0-9]+}}, {{[0-9]+}}, 1, // Opcode: FOO32
// CHECK-LARGE-NEXT: /* 21 */ MCD::OPC_Fail,
// Instruction length table
More information about the llvm-commits
mailing list