aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveIntervals.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2022-02-16 10:57:50 +0000
committerJay Foad <jay.foad@amd.com>2022-02-17 09:31:41 +0000
commitf0092f9ded34ce733d36a302fd1f33f134418594 (patch)
treedace6bf7faf1453118334c726aab958a33ac5d22 /llvm/lib/CodeGen/LiveIntervals.cpp
parent3c9229c6635ecae1991e3229f446f1cac130f4fa (diff)
downloadllvm-f0092f9ded34ce733d36a302fd1f33f134418594.zip
llvm-f0092f9ded34ce733d36a302fd1f33f134418594.tar.gz
llvm-f0092f9ded34ce733d36a302fd1f33f134418594.tar.bz2
[CodeGen] Return false from LiveIntervals::runOnMachineFunction
This is an analysis pass so it does not modify the MachineFunction. Differential Revision: https://reviews.llvm.org/D119941
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp
index 2b23de2..37114d8 100644
--- a/llvm/lib/CodeGen/LiveIntervals.cpp
+++ b/llvm/lib/CodeGen/LiveIntervals.cpp
@@ -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 {