[all-commits] [llvm/llvm-project] 28542e: [mlir][llvm] Use before def debug intrinsic import

Christian Ulmann via All-commits all-commits at lists.llvm.org
Thu Feb 16 06:49:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28542e99bb82b32dfc80ad372fcde3a016a8ca0b
      https://github.com/llvm/llvm-project/commit/28542e99bb82b32dfc80ad372fcde3a016a8ca0b
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/debug-info.ll

  Log Message:
  -----------
  [mlir][llvm] Use before def debug intrinsic import

This commit adds special handling for the debug intrinsic value
handling. LLVM allows to relax the def before use property for debug
intrinsics, so this property cannot be assumed for metadata values.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D144177




More information about the All-commits mailing list