OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016d34c
)
Indexing off by one resulted in errant encoding of source register for
author
Jim Grosbach
<grosbach@apple.com>
Fri, 3 Oct 2008 15:53:56 +0000
(15:53 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 3 Oct 2008 15:53:56 +0000
(15:53 +0000)
reg->reg moves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57011
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMCodeEmitter.cpp
b/lib/Target/ARM/ARMCodeEmitter.cpp
index
3936afc
..
a8fe2ea
100644
(file)
--- a/
lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/
lib/Target/ARM/ARMCodeEmitter.cpp
@@
-416,7
+416,7
@@
unsigned ARMCodeEmitter::getAddrMode1InstrBinary(const MachineInstr &MI,
const MachineOperand &MO = MI.getOperand(OpIdx);
if (MO.isReg())
// Encode register Rm.
- return Binary | getMachineOpValue(MI, NumDefs
+ 1
);
+ return Binary | getMachineOpValue(MI, NumDefs);
// Encode so_imm.
// Set bit I(25) to identify this is the immediate form of <shifter_op>