Skip to content

Commit

Permalink
[CodeGen] Return false from LiveIntervals::runOnMachineFunction
Browse files Browse the repository at this point in the history
This is an analysis pass so it does not modify the MachineFunction.

Differential Revision: https://reviews.llvm.org/D119941
  • Loading branch information
jayfoad committed Feb 17, 2022
1 parent 3c9229c commit f0092f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/LiveIntervals.cpp
Expand Up @@ -149,7 +149,7 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
getRegUnit(i);
}
LLVM_DEBUG(dump());
return true;
return false;
}

void LiveIntervals::print(raw_ostream &OS, const Module* ) const {
Expand Down

0 comments on commit f0092f9

Please sign in to comment.