From: Chris Lattner Date: Thu, 24 Feb 2011 21:53:03 +0000 (+0000) Subject: remove command line option debugging hook. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12d18a07a084b073b768e47b9afe45cc3c6a92f2;p=oota-llvm.git remove command line option debugging hook. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126441 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index a8bb4ef2782..bbd3a230e37 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -45,7 +45,6 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/VectorExtras.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Dwarf.h" #include "llvm/Support/ErrorHandling.h" @@ -56,10 +55,6 @@ using namespace dwarf; STATISTIC(NumTailCalls, "Number of tail calls"); -static cl::opt -Disable256Bit("disable-256bit", cl::Hidden, - cl::desc("Disable use of 256-bit vectors")); - // Forward declarations. static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2); @@ -4337,7 +4332,6 @@ X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const { // use shuffles to put them in place. if (VT.getSizeInBits() > 256 && Subtarget->hasAVX() && - !Disable256Bit && !ISD::isBuildVectorAllZeros(Op.getNode())) { SmallVector V; V.resize(NumElems);