14 lines · plain
1# REQUIRES: x86-registered-target, asserts2 3## Check that --filter works properly.4# RUN: cp -f %S/Inputs/x86-loopvectorize-costmodel.ll %t.ll && %update_analyze_test_checks --filter "LV: Found an estimated cost of [0-9]+ for VF [0-9]+ For instruction:\s*%v0 = load float, ptr %in0, align 4" %t.ll5# RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected6 7## Check that running the script again does not change the result:8# RUN: %update_analyze_test_checks --filter "LV: Found an estimated cost of [0-9]+ for VF [0-9]+ For instruction:\s*%v0 = load float, ptr %in0, align 4" %t.ll9# RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected10 11## Check that running the script again, without arguments, does not change the result:12# RUN: %update_analyze_test_checks %t.ll13# RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected14