AArch64InstrInfo.h: Fix a warning introduced in clang r220703. [-Winconsistent-missin...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 27 Oct 2014 23:29:27 +0000 (23:29 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 27 Oct 2014 23:29:27 +0000 (23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220739 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64InstrInfo.h

index 1993b53cfc3d55b0885890e0d55a7ab502d1e547..30bf6500331ebf542347eab10a693e0d9856f615 100644 (file)
@@ -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