[all-commits] [llvm/llvm-project] ac466c: UpdateTestChecks: squelch warning on SCEV output (...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Sep 26 11:40:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac466c75258888a212e52a4616e287dc4ec6a68b
      https://github.com/llvm/llvm-project/commit/ac466c75258888a212e52a4616e287dc4ec6a68b
  Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    R llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/basic.ll
    R llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/basic.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/scev.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/scev.ll.expected
    R llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/basic.test
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/scev.test
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  UpdateTestChecks: squelch warning on SCEV output (#67443)

update_analyze_test_checks.py currently outputs a warning when updating
a script with the run line:

  $ opt -passes='print<scalar-evolution>'

saying that the script doesn't support its output, when it indeed does,
as evidenced by several tests in test/Analysis/ScalarEvolution generated
by this script. There is even a test for update_analyze_test_checks that
makes sure that SCEV output is supported. Hence, squelch the warning.

While at it, rename the update_analyze_test_checks test from basic.ll to
a more explicit scev.ll.




More information about the All-commits mailing list