diff options
Diffstat (limited to 'llvm/lib/Target/AVR/AVRMCInstLower.cpp')
| -rw-r--r-- | llvm/lib/Target/AVR/AVRMCInstLower.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/AVR/AVRMCInstLower.cpp b/llvm/lib/Target/AVR/AVRMCInstLower.cpp index 49a318762b63..2b8711656139 100644 --- a/llvm/lib/Target/AVR/AVRMCInstLower.cpp +++ b/llvm/lib/Target/AVR/AVRMCInstLower.cpp @@ -29,7 +29,9 @@ MCOperand AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, const MCExpr *Expr = MCSymbolRefExpr::create(Sym, Ctx); bool IsNegated = false; - if (TF & AVRII::MO_NEG) { IsNegated = true; } + if (TF & AVRII::MO_NEG) { + IsNegated = true; + } if (!MO.isJTI() && MO.getOffset()) { Expr = MCBinaryExpr::createAdd( @@ -59,7 +61,8 @@ MCOperand AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, return MCOperand::createExpr(Expr); } -void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, MCInst &OutMI) const { +void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, + MCInst &OutMI) const { OutMI.setOpcode(MI.getOpcode()); for (MachineOperand const &MO : MI.operands()) { @@ -108,4 +111,3 @@ void AVRMCInstLower::lowerInstruction(const MachineInstr &MI, MCInst &OutMI) con } } // end of namespace llvm - |
