[llvm-commits] [llvm] r145816 - /llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp
Hal Finkel
hfinkel at anl.gov
Mon Dec 5 09:54:18 PST 2011
Author: hfinkel
Date: Mon Dec 5 11:54:17 2011
New Revision: 145816
URL: http://llvm.org/viewvc/llvm-project?rev=145816&view=rev
Log:
add register pressure for CR regs
Modified:
llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp?rev=145816&r1=145815&r2=145816&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp Mon Dec 5 11:54:17 2011
@@ -291,6 +291,8 @@
case PPC::F4RCRegClassID:
case PPC::VRRCRegClassID:
return 32 - DefaultSafety;
+ case PPC::CRRCRegClassID:
+ return 8 - DefaultSafety;
}
}
More information about the llvm-commits
mailing list