[all-commits] [llvm/llvm-project] c4667c: [DebugInfo][Reassociate] Propagate source locs whe...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Apr 9 09:08:08 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    A llvm/test/Transforms/Reassociate/debugloc-factoring-add.ll

  Log Message:
  -----------
  [DebugInfo][Reassociate] Propagate source locs when factoring add->mul (#134829)

As part of reassociating add instructions, we may factorize some of the
adds and produce a mul instruction; this patch propagates the source
location of the reassociated tree of instructions to the new mul.

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