[llvm] 3485e9b - [NewPM][FuzzMutate] Fix renaming 'unswitch' to 'simple-loop-unswitch'
Bjorn Pettersson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 03:24:46 PDT 2021
Author: Bjorn Pettersson
Date: 2021-07-09T12:24:12+02:00
New Revision: 3485e9bfbd95a4ef16a0a3713f038b13b9e1bc59
URL: https://github.com/llvm/llvm-project/commit/3485e9bfbd95a4ef16a0a3713f038b13b9e1bc59
DIFF: https://github.com/llvm/llvm-project/commit/3485e9bfbd95a4ef16a0a3713f038b13b9e1bc59.diff
LOG: [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.
Added:
Modified:
llvm/lib/FuzzMutate/FuzzerCLI.cpp
Removed:
################################################################################
diff --git a/llvm/lib/FuzzMutate/FuzzerCLI.cpp b/llvm/lib/FuzzMutate/FuzzerCLI.cpp
index be1887445d09..879d5a10b37b 100644
--- a/llvm/lib/FuzzMutate/FuzzerCLI.cpp
+++ b/llvm/lib/FuzzMutate/FuzzerCLI.cpp
@@ -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") {
More information about the llvm-commits
mailing list