forked from OSchip/llvm-project
Fix a VFP binary arithmetic instruction encoding bug.
llvm-svn: 59116
This commit is contained in:
parent
d95377341b
commit
052f20d3b1
|
@ -1102,7 +1102,7 @@ void ARMCodeEmitter::emitVFPArithInstruction(const MachineInstr &MI) {
|
|||
|
||||
// Encode Dn / Sn.
|
||||
if ((TID.TSFlags & ARMII::FormMask) == ARMII::VFPBinaryFrm)
|
||||
Binary |= encodeVFPRn(MI, OpIdx);
|
||||
Binary |= encodeVFPRn(MI, OpIdx++);
|
||||
|
||||
if (OpIdx == TID.getNumOperands() ||
|
||||
TID.OpInfo[OpIdx].isPredicate() ||
|
||||
|
|
Loading…
Reference in New Issue