[PATCH] D39917: [llvm] Remove redundant return [NFC]
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 12:02:21 PST 2017
mgrang created this revision.
Herald added subscribers: javed.absar, sdardis.
Repository:
rL LLVM
https://reviews.llvm.org/D39917
Files:
lib/IR/Instruction.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
Index: lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
===================================================================
--- lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
+++ lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
@@ -188,7 +188,6 @@
printOperand(MI, opNum, O);
O << ", ";
printOperand(MI, opNum+1, O);
- return;
}
void MipsInstPrinter::
Index: lib/Target/ARM/AsmParser/ARMAsmParser.cpp
===================================================================
--- lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -5905,7 +5905,6 @@
Operands.insert(
Operands.begin() + 3,
ARMOperand::CreateReg(PairedReg, Op2.getStartLoc(), Op2.getEndLoc()));
- return;
}
/// Parse an arm instruction mnemonic followed by its operands.
Index: lib/IR/Instruction.cpp
===================================================================
--- lib/IR/Instruction.cpp
+++ lib/IR/Instruction.cpp
@@ -645,7 +645,6 @@
}
if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
setDebugLoc(SrcInst.getDebugLoc());
- return;
}
Instruction *Instruction::clone() const {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39917.122496.patch
Type: text/x-patch
Size: 1134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171110/bdcf458c/attachment.bin>
More information about the llvm-commits
mailing list