[all-commits] [llvm/llvm-project] d6bf04: [LTO] Remove extraneous ArrayRef (NFC) (#90306)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Apr 26 18:38:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6bf04f4760b0dff3c3d3ff9b560c04438cc25ac
      https://github.com/llvm/llvm-project/commit/d6bf04f4760b0dff3c3d3ff9b560c04438cc25ac
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M llvm/lib/LTO/LTO.cpp

  Log Message:
  -----------
  [LTO] Remove extraneous ArrayRef (NFC) (#90306)

We don't need to explicitly create these instances of ArrayRef because
Hasher::update takes ArrayRef, and ArrayRef can be implicitly
constructed from C arrays.



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