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

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Mar 27 04:01:49 PDT 2025


================
@@ -301,6 +301,8 @@ def Index : Type<CPred<"::llvm::isa<::mlir::IndexType>($_self)">, "index",
                  "::mlir::IndexType">,
             BuildableType<"$_builder.getIndexType()">;
 
+def AnyPointerLike : Type<CPred<"$_self.hasTrait<::mlir::PointerLike>()">, "pointer-like", "::mlir::Type">;
----------------
ftynse wrote:

Nit: wrap the line plz.

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


More information about the Mlir-commits mailing list