Remove unnecessary check of hasAVX(). It's already included in hasXMM().

llvm-svn: 147734
This commit is contained in:
Craig Topper
2012-01-07 18:48:43 +00:00
parent 0515cd41e4
commit ca66bba45e

View File

@@ -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;