[llvm-branch-commits] [llvm-branch] r123260 - /llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp
Bill Wendling
isanbard at gmail.com
Tue Jan 11 11:42:19 PST 2011
Author: void
Date: Tue Jan 11 13:42:19 2011
New Revision: 123260
URL: http://llvm.org/viewvc/llvm-project?rev=123260&view=rev
Log:
This shouldn't have gone in.
Modified:
llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp?rev=123260&r1=123259&r2=123260&view=diff
==============================================================================
--- llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/branches/Apple/Hartnell/lib/Target/X86/X86ISelLowering.cpp Tue Jan 11 13:42:19 2011
@@ -56,8 +56,6 @@
static cl::opt<bool>
DisableMMX("disable-mmx", cl::Hidden, cl::desc("Disable use of MMX"));
-static cl::opt<bool>
-DisableAVX("disable-avx", cl::Hidden, cl::desc("Disable use of AVX"));
// Forward declarations.
static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1,
@@ -842,7 +840,7 @@
setOperationAction(ISD::VSETCC, MVT::v2i64, Custom);
}
- if (!UseSoftFloat && !DisableAVX && Subtarget->hasAVX()) {
+ if (!UseSoftFloat && Subtarget->hasAVX()) {
addRegisterClass(MVT::v8f32, X86::VR256RegisterClass);
addRegisterClass(MVT::v4f64, X86::VR256RegisterClass);
addRegisterClass(MVT::v8i32, X86::VR256RegisterClass);
More information about the llvm-branch-commits
mailing list