[all-commits] [llvm/llvm-project] ac9a46: [LoopPeel] Insert new phis before first non-PHI wh...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue May 27 02:47:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9a466e39bf97ffeab127982aa7c405cb257551
      https://github.com/llvm/llvm-project/commit/ac9a466e39bf97ffeab127982aa7c405cb257551
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    A llvm/test/Transforms/LoopUnroll/peel-last-iteration-debug.ll

  Log Message:
  -----------
  [LoopPeel] Insert new phis before first non-PHI when peeling last iter.

Make sure the new phis are inserted before any non-phi instructions.
This fixes a crash when dbg_value instructions are present in the
original exit block.



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