[all-commits] [llvm/llvm-project] 0153b4: [Scalar] Avoid creating temporary instances of std...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri May 16 23:52:25 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

  Log Message:
  -----------
  [Scalar] Avoid creating temporary instances of std::string (NFC) (#140327)

ExprLinearizer::write takes StringRef and immediately sends the
content to the stream without hanging onto the pointer, so we do not
need to create temporary instances of std::string.



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