[all-commits] [llvm/llvm-project] 74172a: [mlir][generate-test-checks] Do not emit the autog...

Michael Maitland via All-commits all-commits at lists.llvm.org
Wed Jun 11 15:18:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74172add65aa14e77e98b048db0074c3f273057f
      https://github.com/llvm/llvm-project/commit/74172add65aa14e77e98b048db0074c3f273057f
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M mlir/utils/generate-test-checks.py

  Log Message:
  -----------
  [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 at meta.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list