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

Krisitan Erik Olsen via All-commits all-commits at lists.llvm.org
Wed Jul 15 02:18:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e4160fdc3d5bb0ed86480604bdfcd3130e7dd37
      https://github.com/llvm/llvm-project/commit/3e4160fdc3d5bb0ed86480604bdfcd3130e7dd37
  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



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