[all-commits] [llvm/llvm-project] 718013: [mlir][memref] Add builder that infers `reinterpre...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Sep 20 07:34:31 PDT 2024
Branch: refs/heads/users/matthias-springer/reinterp_cast_builder
Home: https://github.com/llvm/llvm-project
Commit: 7180136e8da2e33d574b37c1ad3968101d46fcb9
https://github.com/llvm/llvm-project/commit/7180136e8da2e33d574b37c1ad3968101d46fcb9
Author: Matthias Springer <mspringer at nvidia.com>
Date: 2024-09-20 (Fri, 20 Sep 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
Log Message:
-----------
[mlir][memref] Add builder that infers `reinterpret_cast` result type
Add a convenience builder that infers the result type of `memref.reinterpret_cast`.
Note: It is not possible to remove the result type from all builder overloads because this op currently also allows certain operand/attribute + result type that do not match. The op verifier should probably be made stricter, but that's a larger refactoring that requires additional `memref.cast` ops in some places that build `reinterpret_cast` ops.
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