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.
7 lines
352 B
Plaintext
7 lines
352 B
Plaintext
## Basic test checking that update_analyze_test_checks.py works correctly
|
|
# RUN: cp -f %S/Inputs/scev.ll %t.ll && %update_analyze_test_checks %t.ll
|
|
# RUN: diff -u %t.ll %S/Inputs/scev.ll.expected
|
|
## Check that running the script again does not change the result:
|
|
# RUN: %update_analyze_test_checks %t.ll
|
|
# RUN: diff -u %t.ll %S/Inputs/scev.ll.expected
|