aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PTX/PTXMCInstLower.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PTX/PTXMCInstLower.cpp')
-rw-r--r--lib/Target/PTX/PTXMCInstLower.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/PTX/PTXMCInstLower.cpp b/lib/Target/PTX/PTXMCInstLower.cpp
index cc82080..142e639 100644
--- a/lib/Target/PTX/PTXMCInstLower.cpp
+++ b/lib/Target/PTX/PTXMCInstLower.cpp
@@ -26,8 +26,7 @@ void llvm::LowerPTXMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
const MachineOperand &MO = MI->getOperand(i);
MCOperand MCOp;
- if (AP.lowerOperand(MO, MCOp))
- OutMI.addOperand(MCOp);
+ OutMI.addOperand(AP.lowerOperand(MO));
}
}