[Mlir-commits] [mlir] [mlir][gpu] Pass GPU module to `TargetAttrInterface::createObject`. (PR #94910)

Mehdi Amini llvmlistbot at llvm.org
Tue Aug 27 09:00:39 PDT 2024


================
@@ -47,8 +47,9 @@ def GPUTargetAttrInterface : AttrInterface<"TargetAttrInterface"> {
         meant to be used for passing additional options that are not in the
         attribute.
       }], "::mlir::Attribute", "createObject",
-        (ins "const ::llvm::SmallVector<char, 0>&":$object,
-             "const ::mlir::gpu::TargetOptions&":$options)>
+        (ins "::mlir::Operation *":$module,
----------------
joker-eph wrote:

We're missing documentation here!

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


More information about the Mlir-commits mailing list