[all-commits] [llvm/llvm-project] 08add3: MachineLICM: Fix preheader insertion point with SU...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 8 13:03:41 PDT 2026


  Branch: refs/heads/users/arsenm/machinelicm-succ-args-cluster
  Home:   https://github.com/llvm/llvm-project
  Commit: 08add38a274cbaeb400116afc1b9a793b4059b1d
      https://github.com/llvm/llvm-project/commit/08add38a274cbaeb400116afc1b9a793b4059b1d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/MachineLICM.cpp
    A llvm/test/CodeGen/X86/machinelicm-hoist-before-succ-args.mir

  Log Message:
  -----------
  MachineLICM: Fix preheader insertion point with SUCC_ARGS

Hoist loop-invariant instructions to getBlockEndInsertPt() instead of
getFirstTerminator(), so they land before the SUCC_ARGS cluster rather
than inside it.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)



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