[PATCH] D42410: [llvm-opt-fuzzer] Add couple of popular passes
Igor Laevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 02:03:12 PST 2018
igor-laevsky added inline comments.
================
Comment at: lib/FuzzMutate/FuzzerCLI.cpp:87-88
Args.push_back("-passes=instcombine");
+ } else if (Opt.startswith("earlycse")) {
+ Args.push_back("-passes=early-cse");
+ } else if (Opt.startswith("simplifycfg")) {
----------------
bogner wrote:
> Maybe we've already gone over this, but why is this startswith() rather than equals()?
Actually, no good reason, need to fix that :) Thanks!
Repository:
rL LLVM
https://reviews.llvm.org/D42410
More information about the llvm-commits
mailing list