Tweak the LoopDistribute debug output to be prefixed with "LDist: ", get it to be stable, and extend update_analyze_test_checks.py trivially to support this output.
9 lines
406 B
Plaintext
9 lines
406 B
Plaintext
# REQUIRES: asserts
|
|
|
|
## Basic test checking that update_analyze_test_checks.py works correctly
|
|
# RUN: cp -f %S/Inputs/loop-distribute.ll %t.ll && %update_analyze_test_checks %t.ll
|
|
# RUN: diff -u %t.ll %S/Inputs/loop-distribute.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/loop-distribute.ll.expected
|