Silence a signed/unsigned mismatch warning from MSVC; NFC.

llvm-svn: 218121
This commit is contained in:
Aaron Ballman 2014-09-19 12:21:56 +00:00
parent 62ac736faa
commit c1953dc63e
1 changed files with 1 additions and 1 deletions

View File

@ -3117,7 +3117,7 @@ bool X86TargetInfo::validateOperandSize(StringRef Constraint,
return Size <= 128;
case 'x':
// 256-bit ymm registers can be used if target supports AVX.
return Size <= (SSELevel >= AVX ? 256 : 128);
return Size <= (SSELevel >= AVX ? 256U : 128U);
}
return true;