[all-commits] [llvm/llvm-project] aaa8a8: [CodeGen] Use operator==(StringRef, StringRef) (NFC)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu May 16 21:54:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aaa8a8000009890b79effb0d0f3c6f989a3d5563
      https://github.com/llvm/llvm-project/commit/aaa8a8000009890b79effb0d0f3c6f989a3d5563
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp

  Log Message:
  -----------
  [CodeGen] Use operator==(StringRef, StringRef) (NFC)

The LHS and RHS are of SmallString and StringRef, respectively.  We
can safely use operator==(StringRef, SringRef) with one implicit
conversion from SmallString to StringRef.



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