llvm-project
e1be4dfe - [Hexagon] Disable new value jumps when packetizer is disabled (#180615)

Commit
69 days ago
[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.
Author
Parents
Loading