xref: /llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-isel-support.test (revision 62a983ebc570e8ffa3ded6c3d2c95dcbb82badd8)
1# REQUIRES: asserts
2# REQUIRES: x86-registered-target
3## Basic test checking that update_llc_test_checks.py can update a file with isel debug output
4
5# RUN: cp -f %S/Inputs/x86_isel.ll %t.ll && %update_llc_test_checks %t.ll
6# RUN: cat %S/Inputs/x86_isel.ll.expected > %t.expected.ll
7# RUN: diff -u %t.expected.ll %t.ll
8
9# RUN: cp -f %S/Inputs/x86_asm.ll %t.ll && %update_llc_test_checks %t.ll
10# RUN: cat %S/Inputs/x86_asm.ll.expected > %t.expected.ll
11# RUN: diff -u %t.expected.ll %t.ll
12