forked from OSchip/llvm-project
Tidy up a bit more, fix tab and remove trailing whitespaces
llvm-svn: 140186
This commit is contained in:
parent
fd54b368ea
commit
60aa85b672
|
@ -869,7 +869,6 @@ EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
|||
if ((TSFlags >> X86II::VEXShift) & X86II::VEX_4V)
|
||||
HasVEX_4V = true;
|
||||
|
||||
|
||||
// Determine where the memory operand starts, if present.
|
||||
int MemoryOperand = X86II::getMemoryOperandNo(TSFlags);
|
||||
if (MemoryOperand != -1) MemoryOperand += CurOp;
|
||||
|
@ -879,7 +878,6 @@ EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
|||
else
|
||||
EmitVEXOpcodePrefix(TSFlags, CurByte, MemoryOperand, MI, Desc, OS);
|
||||
|
||||
|
||||
unsigned char BaseOpcode = X86II::getBaseOpcodeFor(TSFlags);
|
||||
|
||||
if ((TSFlags >> X86II::VEXShift) & X86II::Has3DNow0F0FOpcode)
|
||||
|
@ -896,7 +894,6 @@ EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
|||
case X86II::RawFrm:
|
||||
EmitByte(BaseOpcode, CurByte, OS);
|
||||
break;
|
||||
|
||||
case X86II::RawFrmImm8:
|
||||
EmitByte(BaseOpcode, CurByte, OS);
|
||||
EmitImmediate(MI.getOperand(CurOp++),
|
||||
|
@ -1065,7 +1062,6 @@ EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
|||
if ((TSFlags >> X86II::VEXShift) & X86II::Has3DNow0F0FOpcode)
|
||||
EmitByte(X86II::getBaseOpcodeFor(TSFlags), CurByte, OS);
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
// FIXME: Verify.
|
||||
if (/*!Desc.isVariadic() &&*/ CurOp != NumOps) {
|
||||
|
|
Loading…
Reference in New Issue