[Mlir-commits] [mlir] [mlir][IR] Allow `!llvm.ptr` as vector element type (PR #125690)
Mehdi Amini
llvmlistbot at llvm.org
Fri Mar 28 07:58:36 PDT 2025
================
@@ -40,6 +40,11 @@ def ValueSemantics : NativeTypeTrait<"ValueSemantics"> {
let cppNamespace = "::mlir";
}
+/// Type trait indicating that the type is a pointer-like type.
----------------
joker-eph wrote:
I don't think that's addressing my underlying concern: anything that isn't named "vectorElementTypeInterface" or something like this should be a separate PR that we can reason about on its own merits.
The fundamental problem here is that there is nothing special about pointers for vector element types from a builtin type point of view, I don't quite see a workaround to this right now TBH.
https://github.com/llvm/llvm-project/pull/125690
More information about the Mlir-commits
mailing list