diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2025-06-11 18:18:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-11 18:18:22 -0400 |
commit | 74172add65aa14e77e98b048db0074c3f273057f (patch) | |
tree | b93c4e0845d622da94dc6601dfe3ebb079a80b45 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 9c9a4a284e95ea5e27617af7235e3ab049bae680 (diff) | |
download | llvm-74172add65aa14e77e98b048db0074c3f273057f.zip llvm-74172add65aa14e77e98b048db0074c3f273057f.tar.gz llvm-74172add65aa14e77e98b048db0074c3f273057f.tar.bz2 |
[mlir][generate-test-checks] Do not emit the autogenerated note if it exists (#143750)
Prior to this PR, the script removed the already existing autogenerated
note if we came across a line that was equal to the note. But the
default note is multiple lines, so there would never be a match.
Instead, check to see if the current line is a substring of the
autogenerated note.
Co-authored-by: Michael Maitland <michaelmaitland@meta.com>
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions