[all-commits] [llvm/llvm-project] a431e9: [X86] Skip debug instructions in tile copy lowerin...

Krisitan Erik Olsen via All-commits all-commits at lists.llvm.org
Wed Jul 15 11:04:08 PDT 2026


  Branch: refs/heads/release/23.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a431e974f000a55eef4936a92965034eb1f5acaf
      https://github.com/llvm/llvm-project/commit/a431e974f000a55eef4936a92965034eb1f5acaf
  Author: Krisitan Erik Olsen <kristian.erik at outlook.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86LowerTileCopy.cpp
    A llvm/test/CodeGen/X86/AMX/pr209512.ll

  Log Message:
  -----------
  [X86] Skip debug instructions in tile copy lowering (#209640)

X86LowerTileCopy iterates over instructions in reverse to track live
registers, calling LiveRegUnits::stepBackward on every instruction
unconditionally. Since commit 16b2ef32 added an assertion that
stepBackward must not receive debug instructions, functions containing
debug info hit the assertion during tile copy lowering.
This patch skips debug instructions early in the loop, matching the
guard pattern used in RegisterScavenging.cpp and X86FixupBWInsts.cpp.

Fixes #209512

(cherry picked from commit 3e4160fdc3d5bb0ed86480604bdfcd3130e7dd37)



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