[llvm-opt-fuzzer] Add irce to the fuzzing options

llvm-svn: 327969
This commit is contained in:
Igor Laevsky 2018-03-20 11:32:13 +00:00
parent aefa14fcd1
commit 3ce2d7f270
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ void llvm::handleExecNameEncodedOptimizerOpts(StringRef ExecName) {
Args.push_back("-passes=indvars");
} else if (Opt == "strength_reduce") {
Args.push_back("-passes=strength-reduce");
} else if (Opt == "irce") {
Args.push_back("-passes=irce");
} else if (Triple(Opt).getArch()) {
Args.push_back("-mtriple=" + Opt.str());