[all-commits] [llvm/llvm-project] bdde5f: [DebugInfo][RemoveDIs] Turn on non-instrinsic debu...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Thu Feb 8 09:09:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdde5f9bea75e897bcc31a95b9c3376988c211cc
      https://github.com/llvm/llvm-project/commit/bdde5f9bea75e897bcc31a95b9c3376988c211cc
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M llvm/lib/IR/BasicBlock.cpp

  Log Message:
  -----------
  [DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default

This patch causes all variable-location debug-info to be converted into
non-intrinsic records as they passes through the optimisation /
instrumentation passes. There's a brief introduction here [0] and a more
detailed thread on what this means on discourse at [1].

If this commit is breaking your downstream tests, please see comment 12 in
[1], which documents the kind of variation in tests we'd expect to see from
this change and what to do about it.

[0] https://llvm.org/docs/RemoveDIsDebugInfo.html
[1] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939




More information about the All-commits mailing list