From: Craig Topper Date: Sat, 7 Jan 2012 18:48:43 +0000 (+0000) Subject: Remove unnecessary check of hasAVX(). It's already included in hasXMM(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=272cc580f8eff8b893f3d71f88ac97f49ed2aa8c;p=oota-llvm.git Remove unnecessary check of hasAVX(). It's already included in hasXMM(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147734 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 4b1c411824f..467705ed877 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -15380,7 +15380,7 @@ X86TargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint, if (!Subtarget->hasXMMInt()) break; // FALL THROUGH. case 'x': // SSE_REGS if SSE1 allowed or AVX_REGS if AVX allowed - if (!Subtarget->hasXMM() && !Subtarget->hasAVX()) break; + if (!Subtarget->hasXMM()) break; switch (VT.getSimpleVT().SimpleTy) { default: break;