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 5e5b8fb commit 381eb04Copy full SHA for 381eb04
llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
@@ -188,7 +188,7 @@ bool llvm::DemotePHIToStack(Function &F) {
188
for (PHINode *PN : PHIsToDemote) {
189
Instruction *AllocaPoint = F.begin()->getTerminator();
190
if (AllocaPoint) {
191
- Changed = DemotePHIToStack(PN, AllocaPoint) != nullptr;
+ Changed |= DemotePHIToStack(PN, AllocaPoint) != nullptr;
192
}
193
194
0 commit comments