[mlir][spirv] Fix MLIR code snippet marker in TD files

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D141316
This commit is contained in:
Lei Zhang
2023-01-09 12:58:26 -08:00
parent 72a794c220
commit 84ce59a0e4
11 changed files with 73 additions and 76 deletions

View File

@@ -810,9 +810,9 @@ def get_op_definition(instruction, opname, doc, existing_info, capability_mappin
if description is None:
assembly = '\n ```\n'\
' [TODO]\n'\
' ```mlir\n\n'\
' ```\n\n'\
' #### Example:\n\n'\
' ```\n'\
' ```mlir\n'\
' [TODO]\n' \
' ```'
description = get_description(text, assembly)