[all-commits] [llvm/llvm-project] 1a5938: [Hexagon] Disable new value jumps when packetizer ...

Brian Cain via All-commits all-commits at lists.llvm.org
Thu Mar 5 09:10:51 PST 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a5938e7c87cdf913a0aff72ef3a48dd02625184
      https://github.com/llvm/llvm-project/commit/1a5938e7c87cdf913a0aff72ef3a48dd02625184
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
    M llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
    A llvm/test/CodeGen/Hexagon/disable-packetizer-nvj.ll

  Log Message:
  -----------
  [Hexagon] Disable new value jumps when packetizer is disabled (#180615)

New value jumps require the feeder instruction to be in the same packet
as the consumer (.new) instruction. When --disable-packetizer is used,
each instruction is placed in its own packet, making it impossible to
satisfy this requirement.

Previously, using --disable-packetizer would cause an assertion failure
in the MCCodeEmitter: "Couldn't find producer". This change fixes the
crash by checking the DisablePacketizer flag in the NewValueJump pass
and skipping NVJ generation when packetization is disabled.

(cherry picked from commit e1be4dfe1ef889c51d7e1704782a31dc65bb745c)



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