We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f696aa1 commit ab9c3a0Copy full SHA for ab9c3a0
llvm/lib/Target/AArch64/MachineSMEABIPass.cpp
@@ -257,7 +257,7 @@ void MachineSMEABI::pickBundleZAStates(MachineFunction &MF) {
257
LLVM_DEBUG(dbgs() << " DesiredIncomingState: "
258
<< getZAStateString(DesiredIncomingState));
259
}
260
- ZAState DesiredOutgoingState = Block.Insts.front().NeededState;
+ ZAState DesiredOutgoingState = Block.Insts.back().NeededState;
261
if (OutEdge && isLegalEdgeBundleZAState(DesiredOutgoingState)) {
262
EdgeStateCounts[DesiredOutgoingState]++;
263
LLVM_DEBUG(dbgs() << " DesiredOutgoingState: "
0 commit comments