[llvm] r234310 - [MachineLICM] Remove obsolete comment about not considering reg pressure.

Daniel Jasper djasper at google.com
Tue Apr 7 04:43:32 PDT 2015


Author: djasper
Date: Tue Apr  7 06:43:32 2015
New Revision: 234310

URL: http://llvm.org/viewvc/llvm-project?rev=234310&view=rev
Log:
[MachineLICM] Remove obsolete comment about not considering reg pressure.

Modified:
    llvm/trunk/lib/CodeGen/MachineLICM.cpp

Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineLICM.cpp?rev=234310&r1=234309&r2=234310&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLICM.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLICM.cpp Tue Apr  7 06:43:32 2015
@@ -10,10 +10,6 @@
 // This pass performs loop invariant code motion on machine instructions. We
 // attempt to remove as much code from the body of a loop as possible.
 //
-// This pass does not attempt to throttle itself to limit register pressure.
-// The register allocation phases are expected to perform rematerialization
-// to recover when register pressure is high.
-//
 // This pass is not intended to be a replacement or a complete alternative
 // for the LLVM-IR-level LICM pass. It is only designed to hoist simple
 // constructs that are not exposed before lowering and instruction selection.





More information about the llvm-commits mailing list