From a2f371b8eb440d0fac62b879e82e442938413bbd Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 21 May 2014 23:51:57 +0000 Subject: Fix compilation issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209342 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86Subtarget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Target/X86/X86Subtarget.cpp') diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index a6ad386b0a..989e0d61b6 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -16,6 +16,7 @@ #include "llvm/IR/Attributes.h" #include "llvm/IR/Function.h" #include "llvm/IR/GlobalValue.h" +#include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Host.h" @@ -319,6 +320,6 @@ X86Subtarget::enablePostRAScheduler(CodeGenOpt::Level OptLevel, } bool -X86Subtarget::enableEarlyIfConversion() const override { - return hasCMOV() && X86EarlyIfConv; +X86Subtarget::enableEarlyIfConversion() const { + return hasCMov() && X86EarlyIfConv; } -- cgit v1.2.3