Skip to content

Commit 9b696eb

Browse files
Full case sensitivity, leftover this
1 parent 0f13dab commit 9b696eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/IR/OptBisect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static void printDisablePassMessage(const StringRef &Name, StringRef TargetDesc,
8080
}
8181

8282
void OptDisable::setDisabled(StringRef Pass) {
83-
DisabledPasses.insert(Pass.lower());
83+
DisabledPasses.insert(Pass);
8484
}
8585

8686
bool OptDisable::shouldRunPass(StringRef PassName,

llvm/lib/IR/Pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static std::string getDescription(const Function &F) {
188188
bool FunctionPass::skipFunction(const Function &F) const {
189189
OptPassGate &Gate = F.getContext().getOptPassGate();
190190

191-
StringRef PassName = this->getPassArgument();
191+
StringRef PassName = getPassArgument();
192192
if (PassName.empty())
193193
PassName = this->getPassName();
194194

0 commit comments

Comments
 (0)