<div dir="ltr">These are very nice!<div><a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6573">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6573</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 19, 2018 at 3:57 AM, Igor Laevsky via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: igor.laevsky<br>
Date: Mon Feb 19 03:57:07 2018<br>
New Revision: 325487<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=325487&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=325487&view=rev</a><br>
Log:<br>
[llvm-opt-fuzzer] Add another pack of passes for continuous fuzzing<br>
<br>
Differential Revision: <a href="https://reviews.llvm.org/D43384" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D43384</a><br>
<br>
<br>
Modified:<br>
llvm/trunk/lib/FuzzMutate/<wbr>FuzzerCLI.cpp<br>
<br>
Modified: llvm/trunk/lib/FuzzMutate/<wbr>FuzzerCLI.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/FuzzMutate/FuzzerCLI.cpp?rev=325487&r1=325486&r2=325487&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>FuzzMutate/FuzzerCLI.cpp?rev=<wbr>325487&r1=325486&r2=325487&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/FuzzMutate/<wbr>FuzzerCLI.cpp (original)<br>
+++ llvm/trunk/lib/FuzzMutate/<wbr>FuzzerCLI.cpp Mon Feb 19 03:57:07 2018<br>
@@ -83,16 +83,36 @@ void llvm::<wbr>handleExecNameEncodedOptimize<br>
SmallVector<StringRef, 4> Opts;<br>
NameAndArgs.second.split(Opts, '-');<br>
for (StringRef Opt : Opts) {<br>
- if (Opt.startswith("instcombine")<wbr>) {<br>
+ if (Opt == "instcombine") {<br>
Args.push_back("-passes=<wbr>instcombine");<br>
- } else if (Opt.startswith("earlycse")) {<br>
+ } else if (Opt == "earlycse") {<br>
Args.push_back("-passes=early-<wbr>cse");<br>
- } else if (Opt.startswith("simplifycfg")<wbr>) {<br>
+ } else if (Opt == "simplifycfg") {<br>
Args.push_back("-passes=<wbr>simplify-cfg");<br>
- } else if (Opt.startswith("gvn")) {<br>
+ } else if (Opt == "gvn") {<br>
Args.push_back("-passes=gvn");<br>
- } else if (Opt.startswith("sccp")) {<br>
+ } else if (Opt == "sccp") {<br>
Args.push_back("-passes=sccp")<wbr>;<br>
+<br>
+ } else if (Opt == "loop_predication") {<br>
+ Args.push_back("-passes=loop-<wbr>predication");<br>
+ } else if (Opt == "guard_widening") {<br>
+ Args.push_back("-passes=guard-<wbr>widening");<br>
+ } else if (Opt == "loop_rotate") {<br>
+ Args.push_back("-passes=loop(<wbr>rotate)");<br>
+ } else if (Opt == "loop_unswitch") {<br>
+ Args.push_back("-passes=loop(<wbr>unswitch)");<br>
+ } else if (Opt == "loop_unroll") {<br>
+ Args.push_back("-passes=<wbr>unroll");<br>
+ } else if (Opt == "loop_vectorize") {<br>
+ Args.push_back("-passes=loop-<wbr>vectorize");<br>
+ } else if (Opt == "licm") {<br>
+ Args.push_back("-passes=licm")<wbr>;<br>
+ } else if (Opt == "indvars") {<br>
+ Args.push_back("-passes=<wbr>indvars");<br>
+ } else if (Opt == "strength_reduce") {<br>
+ Args.push_back("-passes=<wbr>strength-reduce");<br>
+<br>
} else if (Triple(Opt).getArch()) {<br>
Args.push_back("-mtriple=" + Opt.str());<br>
} else {<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>