[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
    
    
  
================
@@ -184,6 +184,12 @@ class DebugImporter {
 
   MLIRContext *context;
   ModuleOp mlirModule;
+
+  /// An option to control if DICompositeTypes should always be imported without
+  /// converting their elements. This is a way to avoid recursive traversals of
+  /// types, which is currently still flawed for inputs produced by extensive
+  /// usage of template meta programming.
----------------
gysit wrote:
```suggestion
  /// converting their elements. If set, the option avoids the recursive traversal
  /// of composite type debug information, which can be expensive for adversarial inputs.
```
nit: 
https://github.com/llvm/llvm-project/pull/89355
    
    
More information about the Mlir-commits
mailing list