From 3bd112c720dc614a59e3f34ebf9b45075037bfa0 Mon Sep 17 00:00:00 2001 From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Fri, 20 May 2022 10:59:29 -0700 Subject: [PATCH] Update fuzzing test to comply with new optimisation. https://reviews.llvm.org/D125933 improved some of LLVM's handling of binary ORs, which meant we have one less conditional branch, because the 'if (Size > 5 && Data[5] == 'R')' and 'if (bits == 63)' branches are now correctly folded. --- compiler-rt/test/fuzzer/merge_two_step.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/fuzzer/merge_two_step.test b/compiler-rt/test/fuzzer/merge_two_step.test index fbbd2a5..3634ec6 100644 --- a/compiler-rt/test/fuzzer/merge_two_step.test +++ b/compiler-rt/test/fuzzer/merge_two_step.test @@ -10,7 +10,7 @@ RUN: echo ..Z... > %t/T1/3 RUN: rm -f %t/MCF RUN: %run %t-FullCoverageSetTest -merge=1 -merge_control_file=%t/MCF %t/T0 %t/T1 2>&1 | FileCheck %s --check-prefix=CHECK1 CHECK1: MERGE-OUTER: 3 files, 0 in the initial corpus -CHECK1: MERGE-OUTER: 3 new files with {{.*}} new features added; 11 new coverage edges +CHECK1: MERGE-OUTER: 3 new files with {{.*}} new features added; 10 new coverage edges RUN: echo ...Z.. > %t/T2/1 RUN: echo ....E. > %t/T2/2 @@ -26,6 +26,6 @@ CHECK2: MERGE-OUTER: non-empty control file provided CHECK2: MERGE-OUTER: control file ok, 3 files total, first not processed file 3 CHECK2: MERGE-OUTER: starting merge from scratch, but reusing coverage information from the given control file CHECK2: MERGE-OUTER: 7 files, 0 in the initial corpus, 3 processed earlier -CHECK2: MERGE-INNER: using the control file +CHECK2: MERGE-INNER: using the control file CHECK2: MERGE-INNER: 4 total files; 0 processed earlier; will process 4 files now -CHECK2: MERGE-OUTER: 6 new files with {{.*}} new features added; 14 new coverage edges +CHECK2: MERGE-OUTER: 6 new files with {{.*}} new features added; 13 new coverage edges -- 2.7.4