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

Tobias Gysi llvmlistbot at llvm.org
Fri Apr 19 03:51:20 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",
----------------
gysit wrote:

Maybe `drop-di-composite-type-elements` or `strip-di-composite-type-elements` is a bit more precise? The current naming works as well.

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


More information about the Mlir-commits mailing list