brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 241331e Raw
28 lines · plain
1; Test that there is no assertion if the reproducer is flaky2; RUN: rm -f %t3; RUN: llvm-reduce -j=1 --delta-passes=instructions --test %python --test-arg %p/Inputs/flaky-test.py --test-arg %t %s -o /dev/null 2>&1 | FileCheck %s4 5; Check no error with -skip-verify-interesting-after-counting-chunks6; RUN: rm -f %t7; RUN: llvm-reduce -j=1 -skip-verify-interesting-after-counting-chunks --delta-passes=instructions --test %python --test-arg %p/Inputs/flaky-test.py --test-arg %t %s -o /dev/null 2>&1 | FileCheck --allow-empty -check-prefix=QUIET %s8 9; CHECK: warning: input module no longer interesting after counting chunks10; CHECK-NEXT: note: the interestingness test may be flaky, or there may be an llvm-reduce bug11; CHECK-NEXT: note: use -skip-verify-interesting-after-counting-chunks to suppress this warning12 13; QUIET-NOT: warning14; QUIET-NOT: note15; QUIET-NOT: error16 17declare void @foo(i32)18 19define void @func() {20  call void @foo(i32 0)21  call void @foo(i32 1)22  call void @foo(i32 2)23  call void @foo(i32 3)24  call void @foo(i32 4)25  call void @foo(i32 5)26  ret void27}28