[llvm-branch-commits] [compiler-rt-branch] r339315 - Merging r339303:
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 9 00:32:30 PDT 2018
Author: hans
Date: Thu Aug 9 00:32:30 2018
New Revision: 339315
URL: http://llvm.org/viewvc/llvm-project?rev=339315&view=rev
Log:
Merging r339303:
------------------------------------------------------------------------
r339303 | george.karpenkov | 2018-08-09 02:41:22 +0200 (Thu, 09 Aug 2018) | 11 lines
[libFuzzer] Increase the iteration limit in shrink.test
After https://reviews.llvm.org/D48800, shrink.test started failing on
x86_64h architecture.
Looking into this, the optimization pass is too eager to unroll the loop
on x86_64h, possibly leading to worse coverage data.
Alternative solutions include not unrolling the loop when fuzzing, or
disabling this test on that architecture.
Differential Revision: https://reviews.llvm.org/D50484
------------------------------------------------------------------------
Modified:
compiler-rt/branches/release_70/ (props changed)
compiler-rt/branches/release_70/test/fuzzer/shrink.test
Propchange: compiler-rt/branches/release_70/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 9 00:32:30 2018
@@ -1 +1 @@
-/compiler-rt/trunk:338577,338606
+/compiler-rt/trunk:338577,338606,339303
Modified: compiler-rt/branches/release_70/test/fuzzer/shrink.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_70/test/fuzzer/shrink.test?rev=339315&r1=339314&r2=339315&view=diff
==============================================================================
--- compiler-rt/branches/release_70/test/fuzzer/shrink.test (original)
+++ compiler-rt/branches/release_70/test/fuzzer/shrink.test Thu Aug 9 00:32:30 2018
@@ -1,6 +1,6 @@
RUN: %cpp_compiler %S/ShrinkControlFlowTest.cpp -o %t-ShrinkControlFlowTest
RUN: %cpp_compiler %S/ShrinkValueProfileTest.cpp -o %t-ShrinkValueProfileTest
-RUN: %run %t-ShrinkControlFlowTest -seed=1 -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=1000000 -shrink=1 -reduce_inputs=0 2>&1 | FileCheck %s --check-prefix=SHRINK1
+RUN: %run %t-ShrinkControlFlowTest -seed=1 -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=2000000 -shrink=1 -reduce_inputs=0 2>&1 | FileCheck %s --check-prefix=SHRINK1
# Limit max_len to run this negative test faster.
RUN: %run %t-ShrinkControlFlowTest -seed=1 -exit_on_item=0eb8e4ed029b774d80f2b66408203801cb982a60 -runs=1000000 -shrink=0 -reduce_inputs=0 -max_len=64 2>&1 | FileCheck %s --check-prefix=SHRINK0
RUN: %run %t-ShrinkValueProfileTest -seed=1 -exit_on_item=aea2e3923af219a8956f626558ef32f30a914ebc -runs=100000 -shrink=1 -reduce_inputs=0 -use_value_profile=1 2>&1 | FileCheck %s --check-prefix=SHRINK1_VP
More information about the llvm-branch-commits
mailing list