[llvm-branch-commits] [llvm-branch] r81880 - /llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp
Bob Wilson
bob.wilson at apple.com
Tue Sep 15 10:59:44 PDT 2009
Author: bwilson
Date: Tue Sep 15 12:59:44 2009
New Revision: 81880
URL: http://llvm.org/viewvc/llvm-project?rev=81880&view=rev
Log:
--- Merging r81879 into '.':
U lib/Target/ARM/Thumb2InstrInfo.cpp
Modified:
llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp
Modified: llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp?rev=81880&r1=81879&r2=81880&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2InstrInfo.cpp Tue Sep 15 12:59:44 2009
@@ -383,6 +383,11 @@
"Bit extraction didn't work?");
MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal);
} else {
+
+ // AddrMode4 cannot handle any offset.
+ if (AddrMode == ARMII::AddrMode4)
+ return false;
+
// AddrModeT2_so cannot handle any offset. If there is no offset
// register then we change to an immediate version.
unsigned NewOpc = Opcode;
More information about the llvm-branch-commits
mailing list