forked from OSchip/llvm-project
Silence a signed/unsigned mismatch warning from MSVC; NFC.
llvm-svn: 218121
This commit is contained in:
parent
62ac736faa
commit
c1953dc63e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue