[all-commits] [llvm/llvm-project] f0506e: [MLIR] Avoid adding debuginfo for a function if it...

Tim Shen via All-commits all-commits at lists.llvm.org
Tue Sep 29 13:52:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f0506e4923cdbd2b53258bc6c3a2b6bc62c8ccc3
      https://github.com/llvm/llvm-project/commit/f0506e4923cdbd2b53258bc6c3a2b6bc62c8ccc3
  Author: Tim Shen <timshen at google.com>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ConvertToLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/test/Target/llvmir-debug.mlir

  Log Message:
  -----------
  [MLIR] Avoid adding debuginfo for a function if it contains calls that has no debug info.

Also add a verifier pass to ExecutionEngine.

It's hard to come up with a test case, since mlir-opt always add location info after parsing it (?)

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




More information about the All-commits mailing list