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

Rolf Morel llvmlistbot at llvm.org
Sat Aug 23 08:54:45 PDT 2025


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

This is a neater solution! Have now adjusted accordingly 👍 

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


More information about the Mlir-commits mailing list