[all-commits] [llvm/llvm-project] 1c8cc3: [X86] Use StringRef::contains (NFC) (#139379)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat May 10 08:25:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c8cc3be0e77ac9af70d2eae0fb042cf88812950
https://github.com/llvm/llvm-project/commit/1c8cc3be0e77ac9af70d2eae0fb042cf88812950
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-10 (Sat, 10 May 2025)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Log Message:
-----------
[X86] Use StringRef::contains (NFC) (#139379)
Note that StringRef::count counts the number of ocurrences. We can
use StringRef::contains here because we only care about whether we
have at least one occurrence.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list