[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / UpdateTestChecks / update_llc_test_checks / msp430_generated_funcs.test
blobc8ea9833d77b5285297ca40966833d75f24e6abd
1 # REQUIRES: msp430-registered-target
3 ## Check that generated functions are included.
4 # RUN: cp -f %S/Inputs/msp430_generated_funcs.ll %t.ll && %update_llc_test_checks --include-generated-funcs %t.ll
5 # RUN: diff -u %t.ll %S/Inputs/msp430_generated_funcs.ll.generated.expected
7 ## Check that running the script again does not change the result:
8 # RUN: %update_llc_test_checks --include-generated-funcs %t.ll
9 # RUN: diff -u %t.ll %S/Inputs/msp430_generated_funcs.ll.generated.expected
11 ## Check that generated functions are not included.
12 # RUN: cp -f %S/Inputs/msp430_generated_funcs.ll %t.ll && %update_llc_test_checks %t.ll
13 # RUN: diff -u %t.ll %S/Inputs/msp430_generated_funcs.ll.nogenerated.expected
15 ## Check that running the script again does not change the result:
16 # RUN: %update_llc_test_checks %t.ll
17 # RUN: diff -u %t.ll %S/Inputs/msp430_generated_funcs.ll.nogenerated.expected