[llvm-branch-commits] [llvm-branch] r99679 - /llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp

Jim Grosbach grosbach at apple.com
Fri Mar 26 17:14:54 PDT 2010


Author: grosbach
Date: Fri Mar 26 19:14:53 2010
New Revision: 99679

URL: http://llvm.org/viewvc/llvm-project?rev=99679&view=rev
Log:
Merge 99678

Modified:
    llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp

Modified: llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp?rev=99679&r1=99678&r2=99679&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/Target/ARM/Thumb2InstrInfo.cpp Fri Mar 26 19:14:53 2010
@@ -69,7 +69,7 @@
   DebugLoc DL = DebugLoc::getUnknownLoc();
   if (I != MBB.end()) DL = I->getDebugLoc();
 
-  if (RC == ARM::GPRRegisterClass) {
+  if (RC == ARM::GPRRegisterClass || RC == ARM::tGPRRegisterClass) {
     MachineFunction &MF = *MBB.getParent();
     MachineFrameInfo &MFI = *MF.getFrameInfo();
     MachineMemOperand *MMO =
@@ -93,7 +93,7 @@
   DebugLoc DL = DebugLoc::getUnknownLoc();
   if (I != MBB.end()) DL = I->getDebugLoc();
 
-  if (RC == ARM::GPRRegisterClass) {
+  if (RC == ARM::GPRRegisterClass || RC == ARM::tGPRRegisterClass) {
     MachineFunction &MF = *MBB.getParent();
     MachineFrameInfo &MFI = *MF.getFrameInfo();
     MachineMemOperand *MMO =





More information about the llvm-branch-commits mailing list