[all-commits] [llvm/llvm-project] c1ff74: [mlir] Don't use shared_ptr reference. (#202703)
Weiwei C via All-commits
all-commits at lists.llvm.org
Tue Jun 9 12:39:03 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1ff74c4bf50c811f4155d51dc53456b568ca8ba
https://github.com/llvm/llvm-project/commit/c1ff74c4bf50c811f4155d51dc53456b568ca8ba
Author: Weiwei C <weiwei.chen at modular.com>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
Log Message:
-----------
[mlir] Don't use shared_ptr reference. (#202703)
`const std::share_ptr<...>&` doesn't increase ref count which can easily
cause downstream user bugs with maintaining the life time of the object.
Remove `&` to kick in ref count.
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