[all-commits] [llvm/llvm-project] 224cd5: [DebugInfo][GlobalOpt] Preserve source locs for op...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Apr 24 06:10:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 224cd50e005a9215e8c528d5ce68d4fcdfcdb98f
      https://github.com/llvm/llvm-project/commit/224cd50e005a9215e8c528d5ce68d4fcdfcdb98f
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    A llvm/test/Transforms/GlobalOpt/X86/preserve-dbgloc-of-load-store-to-bool.ll

  Log Message:
  -----------
  [DebugInfo][GlobalOpt] Preserve source locs for optimized loads (#134828)

Some optimizations in globalopt simplify uses of a global value to uses
of a generated global bool value; in some cases where this happens, the
newly-generated instructions would not have the original source
location(s) of the instructions they replaced propagated to them; this
patch properly preserves those source locations.

Found using https://github.com/llvm/llvm-project/pull/107279.



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