Skip to content

Commit 3945b43

Browse files
author
git apple-llvm automerger
committed
Merge commit 'c0396e15c348' from llvm.org/main into next
2 parents a006991 + c0396e1 commit 3945b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3858,7 +3858,7 @@ bool AArch64AsmParser::parseSysAlias(StringRef Name, SMLoc NameLoc,
38583858

38593859
Lex(); // Eat operand.
38603860

3861-
bool ExpectRegister = (Op.lower().find("all") == StringRef::npos);
3861+
bool ExpectRegister = !Op.contains_insensitive("all");
38623862
bool HasRegister = false;
38633863

38643864
// Check for the optional register operand.

0 commit comments

Comments
 (0)