[llvm] r220739 - AArch64InstrInfo.h: Fix a warning introduced in clang r220703. [-Winconsistent-missing-override]
NAKAMURA Takumi
geek4civic at gmail.com
Mon Oct 27 16:29:27 PDT 2014
Author: chapuni
Date: Mon Oct 27 18:29:27 2014
New Revision: 220739
URL: http://llvm.org/viewvc/llvm-project?rev=220739&view=rev
Log:
AArch64InstrInfo.h: Fix a warning introduced in clang r220703. [-Winconsistent-missing-override]
Modified:
llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h
Modified: llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h?rev=220739&r1=220738&r2=220739&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h Mon Oct 27 18:29:27 2014
@@ -165,7 +165,7 @@ public:
bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
unsigned SrcReg2, int CmpMask, int CmpValue,
const MachineRegisterInfo *MRI) const override;
- bool optimizeCondBranch(MachineInstr *MI) const;
+ bool optimizeCondBranch(MachineInstr *MI) const override;
/// hasPattern - return true when there is potentially a faster code sequence
/// for an instruction chain ending in <Root>. All potential patterns are
/// listed
More information about the llvm-commits
mailing list