mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix an obvious typo in an assert.
Patch by Sean Callanan. llvm-svn: 98200
This commit is contained in:
parent
df325dee9d
commit
e49828788b
@ -436,7 +436,7 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
|
||||
void ARMCodeEmitter::emitMOVi2piecesInstruction(const MachineInstr &MI) {
|
||||
const MachineOperand &MO0 = MI.getOperand(0);
|
||||
const MachineOperand &MO1 = MI.getOperand(1);
|
||||
assert(MO1.isImm() && ARM_AM::getSOImmVal(MO1.isImm()) != -1 &&
|
||||
assert(MO1.isImm() && ARM_AM::getSOImmVal(MO1.getImm()) != -1 &&
|
||||
"Not a valid so_imm value!");
|
||||
unsigned V1 = ARM_AM::getSOImmTwoPartFirst(MO1.getImm());
|
||||
unsigned V2 = ARM_AM::getSOImmTwoPartSecond(MO1.getImm());
|
||||
|
Loading…
Reference in New Issue
Block a user