aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2025-06-11 18:18:22 -0400
committerGitHub <noreply@github.com>2025-06-11 18:18:22 -0400
commit74172add65aa14e77e98b048db0074c3f273057f (patch)
treeb93c4e0845d622da94dc6601dfe3ebb079a80b45 /llvm/lib/Analysis/ConstantFolding.cpp
parent9c9a4a284e95ea5e27617af7235e3ab049bae680 (diff)
downloadllvm-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