[all-commits] [llvm/llvm-project] 5ce54e: [MLIR][LLVM] Add import flag to skip traversal of ...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Fri Apr 19 02:10:32 PDT 2024


  Branch: refs/heads/users/dinistro/translate-flag-to-skip-type-recursion
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ce54e478b6a03358c230f045b737851dbc600ff
      https://github.com/llvm/llvm-project/commit/5ce54e478b6a03358c230f045b737851dbc600ff
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/Import.h
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/DebugImporter.cpp
    M mlir/lib/Target/LLVMIR/DebugImporter.h
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    A mlir/test/Target/LLVMIR/Import/import-empty-di-composite-types.ll

  Log Message:
  -----------
  [MLIR][LLVM] Add import flag to skip traversal of DICompositType's elems

This commit introduces a flag to allow skipping the potentially
recursive import of DICompositType elements. This patch is essentially a
bandaid for the still broken recursive debug type import.

Some of our downstream inputs are produced by excessive usage of
template meta programming, and thus contain tens of thousands of types
that all participate in such recursions. Unfortunately, the series of
patches that introduces type support is not easily revertable due to
being around for a while now and Modular depending on it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list