[all-commits] [llvm/llvm-project] 90de4a: [LoopFusion] Fix sink instructions (#147501)

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Sun Jul 27 23:39:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90de4a4ac96ef314e3af9c43c516d5aaf105777a
      https://github.com/llvm/llvm-project/commit/90de4a4ac96ef314e3af9c43c516d5aaf105777a
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    A llvm/test/Transforms/LoopFusion/sunk-phi-nodes.ll

  Log Message:
  -----------
  [LoopFusion] Fix sink instructions (#147501)

If we have instructions in second loop's preheader which can be sunk, we
should also be adjusting PHI nodes to receive values from the fused loop's latch block.

Fixes #128600



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