[llvm-commits] [llvm] r149585 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Akira Hatanaka
ahatanaka at mips.com
Wed Feb 1 19:17:04 PST 2012
Author: ahatanak
Date: Wed Feb 1 21:17:04 2012
New Revision: 149585
URL: http://llvm.org/viewvc/llvm-project?rev=149585&view=rev
Log:
Set the correct stack pointer register.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=149585&r1=149584&r2=149585&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Wed Feb 1 21:17:04 2012
@@ -247,7 +247,7 @@
setMinFunctionAlignment(2);
- setStackPointerRegisterToSaveRestore(HasMips64 ? Mips::SP_64 : Mips::SP);
+ setStackPointerRegisterToSaveRestore(IsN64 ? Mips::SP_64 : Mips::SP);
computeRegisterProperties();
setExceptionPointerRegister(IsN64 ? Mips::A0_64 : Mips::A0);
More information about the llvm-commits
mailing list