blob: 4ae0e73203b7dd038e11703ee7559065a9576e0b [file]
# REQUIRES: asserts
# REQUIRES: x86-registered-target
## Basic test checking that update_llc_test_checks.py can update a file with isel debug output
# RUN: cp -f %S/Inputs/x86_isel.ll %t.ll && %update_llc_test_checks %t.ll
# RUN: cat %S/Inputs/x86_isel.ll.expected > %t.expected.ll
# RUN: diff -u %t.expected.ll %t.ll
# RUN: cp -f %S/Inputs/x86_asm.ll %t.ll && %update_llc_test_checks %t.ll
# RUN: cat %S/Inputs/x86_asm.ll.expected > %t.expected.ll
# RUN: diff -u %t.expected.ll %t.ll