1 # REQUIRES: x86-registered-target
2 ## Test that update_llc_test_checks.py can run pre-processing commands.
4 ## Test that update_test_checks.py can run pre-processing commands.
5 # RUN: cp -f %S/Inputs/pre-process.ll %t.ll && %update_llc_test_checks %t.ll
6 # RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected
7 ## Check that running the script again does not change the result:
8 # RUN: %update_llc_test_checks %t.ll
9 # RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected