summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-05-02 14:56:21 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-05-02 14:56:21 +0000
commit9d1a5561255aaf140c2877d8abadf36226718646 (patch)
treeb193296f6aa7125101056243b37edd878a0bff6e
parent7b6001ee0f8c6183cd28597bbae36fbdc5ef6009 (diff)
downloadbcm5719-llvm-9d1a5561255aaf140c2877d8abadf36226718646.tar.gz
bcm5719-llvm-9d1a5561255aaf140c2877d8abadf36226718646.zip
Cleanup comments. NFC.
llvm-svn: 268236
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp5
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 2f06922f8c0..f152854546a 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -2724,9 +2724,10 @@ void AArch64InstrInfo::getNoopForMachoTarget(MCInst &NopInst) const {
NopInst.setOpcode(AArch64::HINT);
NopInst.addOperand(MCOperand::createImm(0));
}
-/// useMachineCombiner - return true when a target supports MachineCombiner
+
+// AArch64 supports MachineCombiner.
bool AArch64InstrInfo::useMachineCombiner() const {
- // AArch64 supports the combiner
+
return true;
}
//
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.h b/llvm/lib/Target/AArch64/AArch64InstrInfo.h
index 353ef735dac..32d5c194154 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.h
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.h
@@ -195,7 +195,7 @@ public:
SmallVectorImpl<MachineInstr *> &InsInstrs,
SmallVectorImpl<MachineInstr *> &DelInstrs,
DenseMap<unsigned, unsigned> &InstrIdxForVirtReg) const override;
- /// useMachineCombiner - AArch64 supports MachineCombiner
+ /// AArch64 supports MachineCombiner.
bool useMachineCombiner() const override;
bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override;
OpenPOWER on IntegriCloud