[Mlir-commits] [mlir] [mlir][IR] Allow `!llvm.ptr` as vector element type (PR #125690)
Christian Ulmann
llvmlistbot at llvm.org
Sun Mar 23 04:24:55 PDT 2025
================
@@ -43,6 +43,10 @@ template <typename ConcreteType>
class ValueSemantics
: public TypeTrait::TraitBase<ConcreteType, ValueSemantics> {};
+/// Type trait indicating that the type is a pointer-like type.
+template <typename ConcreteType>
+class PointerLike : public TypeTrait::TraitBase<ConcreteType, PointerLike> {};
----------------
Dinistro wrote:
Given that changing this to an interface is not really intrusive, I vote in favor of adding this once a use case pops up.
https://github.com/llvm/llvm-project/pull/125690
More information about the Mlir-commits
mailing list