mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-16 23:19:37 +00:00
fix some fixme's, removing dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab63864564
commit
0fe7184ba1
@ -188,10 +188,7 @@ void PPCInstPrinter::printMemRegImm(const MCInst *MI, unsigned OpNo,
|
||||
raw_ostream &O) {
|
||||
printSymbolLo(MI, OpNo, O);
|
||||
O << '(';
|
||||
assert(MI->getOperand(OpNo+1).isReg() && "Bad operand");
|
||||
// FIXME: Simplify.
|
||||
if (MI->getOperand(OpNo+1).isReg() &&
|
||||
MI->getOperand(OpNo+1).getReg() == PPC::R0)
|
||||
if (MI->getOperand(OpNo+1).getReg() == PPC::R0)
|
||||
O << "0";
|
||||
else
|
||||
printOperand(MI, OpNo+1, O);
|
||||
@ -206,10 +203,7 @@ void PPCInstPrinter::printMemRegImmShifted(const MCInst *MI, unsigned OpNo,
|
||||
printSymbolLo(MI, OpNo, O);
|
||||
O << '(';
|
||||
|
||||
assert(MI->getOperand(OpNo+1).isReg() && "Bad operand");
|
||||
// FIXME: Simplify.
|
||||
if (MI->getOperand(OpNo+1).isReg() &&
|
||||
MI->getOperand(OpNo+1).getReg() == PPC::R0)
|
||||
if (MI->getOperand(OpNo+1).getReg() == PPC::R0)
|
||||
O << "0";
|
||||
else
|
||||
printOperand(MI, OpNo+1, O);
|
||||
|
Loading…
x
Reference in New Issue
Block a user