mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Silence compiler warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c82f199892
commit
9559e3b99a
@ -2290,7 +2290,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
"Reg operand expected");
|
||||
|
||||
RegClass = OpInfo[OpIdx].RegClass;
|
||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
||||
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||
MI.addOperand(MCOperand::CreateReg(
|
||||
getRegisterEnum(B, RegClass, Rd,
|
||||
UseDRegPair(Opcode))));
|
||||
@ -2310,7 +2310,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
// possible TIED_TO DPR/QPR's (ignored), then possible lane index.
|
||||
RegClass = OpInfo[0].RegClass;
|
||||
|
||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
||||
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||
MI.addOperand(MCOperand::CreateReg(
|
||||
getRegisterEnum(B, RegClass, Rd,
|
||||
UseDRegPair(Opcode))));
|
||||
@ -2336,7 +2336,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
++OpIdx;
|
||||
}
|
||||
|
||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
||||
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||
assert(TID.getOperandConstraint(OpIdx, TOI::TIED_TO) != -1 &&
|
||||
"Tied to operand expected");
|
||||
MI.addOperand(MCOperand::CreateReg(0));
|
||||
|
Loading…
Reference in New Issue
Block a user