[Mlir-commits] [mlir] [mlir][IR] Allow `!llvm.ptr` as vector element type (PR #125690)

Matthias Springer llvmlistbot at llvm.org
Thu Mar 20 06:30:44 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> {};
----------------
matthias-springer wrote:

As long as there are no interface methods that we would like to add (now or in the future), I would leave it as a trait.


https://github.com/llvm/llvm-project/pull/125690


More information about the Mlir-commits mailing list