[Mlir-commits] [mlir] [MLIR][LLVM] Add import flag to skip traversal of DICompositType's elems (PR #89355)

Christian Ulmann llvmlistbot at llvm.org
Fri Apr 19 02:14:32 PDT 2024


================
@@ -30,6 +30,11 @@ void registerFromLLVMIRTranslation() {
       llvm::cl::desc("Emit expensive warnings during LLVM IR import "
                      "(discouraged: testing only!)"),
       llvm::cl::init(false));
+  static llvm::cl::opt<bool> importEmptyDICompositeTypes(
+      "import-empty-di-composite-types",
----------------
Dinistro wrote:

We could also call this something like "avoid-recursive-type-import" or something. I'm open to suggestions 😄 

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


More information about the Mlir-commits mailing list