s/getNEONVcvtImm32/getNEONVcvtImm32OpValue/ to be consistent with other operand
encoder functions. llvm-svn: 117738
This commit is contained in:
parent
99cce36cf5
commit
58018e62a8
|
@ -194,7 +194,7 @@ namespace {
|
|||
Binary |= (Reg << 13);
|
||||
return Binary;
|
||||
}
|
||||
unsigned getNEONVcvtImm32(const MachineInstr &MI, unsigned Op) const {
|
||||
unsigned getNEONVcvtImm32OpValue(const MachineInstr &MI, unsigned Op) const {
|
||||
return 0; }
|
||||
|
||||
/// getMovi32Value - Return binary encoding of operand for movw/movt. If the
|
||||
|
|
|
@ -300,7 +300,7 @@ def pclabel : Operand<i32> {
|
|||
}
|
||||
|
||||
def neon_vcvt_imm32 : Operand<i32> {
|
||||
string EncoderMethod = "getNEONVcvtImm32";
|
||||
string EncoderMethod = "getNEONVcvtImm32OpValue";
|
||||
}
|
||||
|
||||
// rot_imm: An integer that encodes a rotate amount. Must be 8, 16, or 24.
|
||||
|
|
|
@ -92,7 +92,7 @@ public:
|
|||
return MI.getOperand(Op).getImm() - 1;
|
||||
}
|
||||
|
||||
unsigned getNEONVcvtImm32(const MCInst &MI, unsigned Op) const {
|
||||
unsigned getNEONVcvtImm32OpValue(const MCInst &MI, unsigned Op) const {
|
||||
return 64 - MI.getOperand(Op).getImm();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue