[all-commits] [llvm/llvm-project] fb4c05: [mlir][IR] Add implicit conversion operator to `Ty...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Oct 23 00:24:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb4c05cf036e09ed97a48a6c515befbcc9198c61
https://github.com/llvm/llvm-project/commit/fb4c05cf036e09ed97a48a6c515befbcc9198c61
Author: Matthias Springer <me at m-sp.org>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M mlir/include/mlir/IR/Value.h
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/Shard/Transforms/Partition.cpp
Log Message:
-----------
[mlir][IR] Add implicit conversion operator to `TypedValue` (#164621)
Allow implicit conversion from `TypedValue<B>` to `TypedValue<A>` if `B`
is assignable to `A`.
Example:
```c++
TypedValue<MemRefType> val;
TypedValue<ShapedType> shapedVal = val; // this is now valid
```
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