[all-commits] [llvm/llvm-project] be0c80: [NFC][Debuginfo][RemoveDIs] Switch an insertion to...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Mon Jan 22 15:13:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0c8098364b4bc9b210db65f5799bf37aefb605
      https://github.com/llvm/llvm-project/commit/be0c8098364b4bc9b210db65f5799bf37aefb605
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [NFC][Debuginfo][RemoveDIs] Switch an insertion to use iterators

With the soon-to-land new-debug-info storage model, it's going to be
important to use iterators for instruction insertion rather than
instruction pointers. This (single line in instcombine) is the last place
that trips up our internal testing for debug-info, where we insert a PHI
and it should be using an iterator.




More information about the All-commits mailing list