[Mlir-commits] [mlir] [MLIR][LLVM] Make DISubprogramAttr cyclic (PR #106571)
Billy Zhu
llvmlistbot at llvm.org
Thu Aug 29 10:54:06 PDT 2024
================
@@ -289,16 +294,21 @@ MlirAttribute mlirLLVMDISubroutineTypeAttrGet(MlirContext ctx,
[](Attribute a) { return cast<DITypeAttr>(a); })));
}
+MlirAttribute mlirLLVMDISubprogramAttrGetSelfRec(MlirAttribute recId) {
+ return wrap(DISubprogramAttr::getRecSelf(cast<DistinctAttr>(unwrap(recId))));
----------------
zyx-billy wrote:
nit: "SelfRec" vs "RecSelf" in naming (same for DIComposite)
https://github.com/llvm/llvm-project/pull/106571
More information about the Mlir-commits
mailing list