mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
Remove unnecessary check of hasAVX(). It's already included in hasXMM().
llvm-svn: 147734
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user