diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index d8f632501de..1a5853c0361 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -22,15 +22,8 @@ #include "llvm/CodeGen/LiveVariables.h" #include "llvm/CodeGen/SSARegMap.h" #include "llvm/Target/TargetOptions.h" -#include "llvm/Support/CommandLine.h" using namespace llvm; -namespace { - cl::opt - EnableCommuteCMove("enable-x86-commute-cmove", - cl::desc("Commute conditional moves by inverting conditions")); -} - X86InstrInfo::X86InstrInfo(X86TargetMachine &tm) : TargetInstrInfo(X86Insts, array_lengthof(X86Insts)), TM(tm), RI(tm, *this) { @@ -442,8 +435,6 @@ MachineInstr *X86InstrInfo::commuteInstruction(MachineInstr *MI) const { case X86::CMOVNP16rr: case X86::CMOVNP32rr: case X86::CMOVNP64rr: { - if (!EnableCommuteCMove) - return 0; unsigned Opc = 0; switch (MI->getOpcode()) { default: break;