[llvm-commits] [llvm] r168630 - /llvm/trunk/lib/CodeGen/RegAllocBase.cpp

Chad Rosier mcrosier at apple.com
Mon Nov 26 15:14:37 PST 2012


Author: mcrosier
Date: Mon Nov 26 17:14:37 2012
New Revision: 168630

URL: http://llvm.org/viewvc/llvm-project?rev=168630&view=rev
Log:
Now that the X86 Maximal Stack Alignment Check pass has been removed (i.e.,
r168627), we no longer need to call the freezeReservedRegs() function a second
time.  Previously, this pass was conservatively adding the FP to the set of
reserved registers, requiring the second update to the reserved registers.
rdar://12719844

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

Modified: llvm/trunk/lib/CodeGen/RegAllocBase.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocBase.cpp?rev=168630&r1=168629&r2=168630&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocBase.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocBase.cpp Mon Nov 26 17:14:37 2012
@@ -58,7 +58,6 @@
   VRM = &vrm;
   LIS = &lis;
   Matrix = &mat;
-  MRI->freezeReservedRegs(vrm.getMachineFunction());
   RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
 }
 





More information about the llvm-commits mailing list