# REQUIRES: x86-registered-target, asserts ## Check that --filter works properly. # 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, float\* %in0, align 4" %t.ll # RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected ## Check that running the script again does not change the result: # RUN: %update_analyze_test_checks --filter "LV: Found an estimated cost of [0-9]+ for VF [0-9]+ For instruction:\s*%v0 = load float, float\* %in0, align 4" %t.ll # RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected ## Check that running the script again, without arguments, does not change the result: # RUN: %update_analyze_test_checks %t.ll # RUN: diff -u %t.ll %S/Inputs/x86-loopvectorize-costmodel.ll.expected