[PATCH] D119941: [CodeGen] Return false from LiveIntervals::runOnMachineFunction

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 07:44:26 PST 2022


foad created this revision.
foad added reviewers: serge-sans-paille, piotr.
Herald added subscribers: hiraditya, MatzeB.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is an analysis pass so it does not modify the MachineFunction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119941

Files:
  llvm/lib/CodeGen/LiveIntervals.cpp


Index: llvm/lib/CodeGen/LiveIntervals.cpp
===================================================================
--- llvm/lib/CodeGen/LiveIntervals.cpp
+++ llvm/lib/CodeGen/LiveIntervals.cpp
@@ -149,7 +149,7 @@
       getRegUnit(i);
   }
   LLVM_DEBUG(dump());
-  return true;
+  return false;
 }
 
 void LiveIntervals::print(raw_ostream &OS, const Module* ) const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119941.409256.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220216/41483e6e/attachment.bin>


More information about the llvm-commits mailing list