[Mlir-commits] [mlir] [mlir][IR] Experiment: Allow ptr as vector element type (PR #125690)
Diego Caballero
llvmlistbot at llvm.org
Tue Feb 4 11:31:04 PST 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> {};
----------------
dcaballe wrote:
I wonder if this should be an interface... we may have common methods to retrieve the address space, at least?
https://github.com/llvm/llvm-project/pull/125690
More information about the Mlir-commits
mailing list