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 4cff1b4 commit 8d8a496Copy full SHA for 8d8a496
llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
@@ -117,7 +117,7 @@ bool LocalStackSlotPass::runOnMachineFunction(MachineFunction &MF) {
117
118
// If the target doesn't want/need this pass, or if there are no locals
119
// to consider, early exit.
120
- if (!TRI->requiresVirtualBaseRegisters(MF) || LocalObjectCount == 0)
+ if (LocalObjectCount == 0 || !TRI->requiresVirtualBaseRegisters(MF))
121
return true;
122
123
// Make sure we have enough space to store the local offsets.
0 commit comments