[all-commits] [llvm/llvm-project] 3af26b: [libc++] Improve code gen for string's operator== ...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Aug 1 14:05:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3af26be42e39405d9b3e1023853218dea20b5d1f
      https://github.com/llvm/llvm-project/commit/3af26be42e39405d9b3e1023853218dea20b5d1f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M libcxx/include/string

  Log Message:
  -----------
  [libc++] Improve code gen for string's operator== (#100926)

If the string is too long for a short string, we can simply check for
the long bit. If that's false we can do an early return. This improves
the code gen slightly.



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