[Mlir-commits] [mlir] [mlir] Add support for broader range of input files in generate-test-checks.py (PR #134327)
River Riddle
llvmlistbot at llvm.org
Thu Apr 10 16:51:48 PDT 2025
================
@@ -236,9 +236,12 @@ def process_attribute_references(line, attribute_namer):
# Pre-process a line of input to remove any character sequences that will be
# problematic with FileCheck.
def preprocess_line(line):
+ # If input line has `{{` i.e. in a StrAttr with serialized proto.
----------------
River707 wrote:
I would not mention serialized protos in the comment, the important thing here is just escaping {{ which correspond to regex in file check.
https://github.com/llvm/llvm-project/pull/134327
More information about the Mlir-commits
mailing list