[llvm] f0092f9 - [CodeGen] Return false from LiveIntervals::runOnMachineFunction

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 01:32:07 PST 2022


Author: Jay Foad
Date: 2022-02-17T09:31:41Z
New Revision: f0092f9ded34ce733d36a302fd1f33f134418594

URL: https://github.com/llvm/llvm-project/commit/f0092f9ded34ce733d36a302fd1f33f134418594
DIFF: https://github.com/llvm/llvm-project/commit/f0092f9ded34ce733d36a302fd1f33f134418594.diff

LOG: [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

Added: 
    

Modified: 
    llvm/lib/CodeGen/LiveIntervals.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp
index 2b23de285953..37114d862ca6 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 {


        


More information about the llvm-commits mailing list