[Mlir-commits] [mlir] [MLIR][LLVMIR][DLTI] Pass to update #llvm.target's features per relevant backend (PR #154938)

Mehdi Amini llvmlistbot at llvm.org
Sat Aug 23 07:53:40 PDT 2025


================
@@ -561,7 +561,7 @@ def LLVM_TargetAttrInterface
     >,
     InterfaceMethod<
       /*description=*/"Returns the target features as a string.",
-      /*retTy=*/"StringAttr",
+      /*retTy=*/"LLVM::TargetFeaturesAttr",
----------------
joker-eph wrote:

@fabianmcg : I remember we did this for some of the GPU offloading work right?

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


More information about the Mlir-commits mailing list