[all-commits] [llvm/llvm-project] 151047: [RemoveDIs] Insert PHIs before debug records in ha...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Mar 14 15:36:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1510473908e09b0dba574e74b862243c6fddb35f
      https://github.com/llvm/llvm-project/commit/1510473908e09b0dba574e74b862243c6fddb35f
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/HardwareLoops.cpp
    A llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll

  Log Message:
  -----------
  [RemoveDIs] Insert PHIs before debug records in hardware loops (#85288)

Fixes: https://github.com/llvm/llvm-project/issues/85254

Hardware loops inserts PHIs at the position `getFirstNonPhi()`, which is
incorrect - instead, `getFirstNonPhiIt()` is required to not insert the
PHI after any debug records that immediately follow the last existing
PHI.



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