1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[NewPM][FuzzMutate] Fix renaming 'unswitch' to 'simple-loop-unswitch'

This is a follow up to D105628 (commit 1db2551cc1a356a67c096). I had
missed to replace 'unswitch' by 'simple-loop-unswitch' in one place.
This commit is contained in:
Bjorn Pettersson 2021-07-09 12:23:51 +02:00
parent cb3c17db3f
commit 2ada06645f

View File

@ -101,7 +101,7 @@ void llvm::handleExecNameEncodedOptimizerOpts(StringRef ExecName) {
} else if (Opt == "loop_rotate") {
Args.push_back("-passes=loop(rotate)");
} else if (Opt == "loop_unswitch") {
Args.push_back("-passes=loop(unswitch)");
Args.push_back("-passes=loop(simple-loop-unswitch)");
} else if (Opt == "loop_unroll") {
Args.push_back("-passes=unroll");
} else if (Opt == "loop_vectorize") {