blob: b4b3583b5d29e9eb7b8056a024509738a600b82f [file] [log] [blame]
# REQUIRES: powerpc-registered-target
## Check that generated functions are included.
# RUN: cp -f %S/Inputs/ppc_generated_funcs.ll %t.ll && %update_llc_test_checks --include-generated-funcs %t.ll
# RUN: diff -u %t.ll %S/Inputs/ppc_generated_funcs.ll.generated.expected
## Check that running the script again does not change the result:
# RUN: %update_llc_test_checks --include-generated-funcs %t.ll
# RUN: diff -u %t.ll %S/Inputs/ppc_generated_funcs.ll.generated.expected
## Check that generated functions are not included.
# RUN: cp -f %S/Inputs/ppc_generated_funcs.ll %t.ll && %update_llc_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/ppc_generated_funcs.ll.nogenerated.expected
## Check that running the script again does not change the result:
# RUN: %update_llc_test_checks %t.ll
# RUN: diff -u %t.ll %S/Inputs/ppc_generated_funcs.ll.nogenerated.expected