[Mlir-commits] [mlir] [mlir] Add support for broader range of input files in generate-test-checks.py (PR #134327)
Kevin Gleason
llvmlistbot at llvm.org
Fri Apr 11 09:45:22 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.
----------------
GleasonK wrote:
Good point - Changed to be more consistent with the other comments in this function:
```
# Replace any `{{` with escaped replacements. `{{` corresponds to regex
# checks in FileCheck.
```
https://github.com/llvm/llvm-project/pull/134327
More information about the Mlir-commits
mailing list