mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Suppress signed/unsigned comparison warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32c1a82a6b
commit
e010eb3041
@ -17555,10 +17555,10 @@ X86VectorTargetTransformInfo::getArithmeticInstrCost(unsigned Opcode,
|
||||
|
||||
unsigned
|
||||
X86VectorTargetTransformInfo::getVectorInstrCost(unsigned Opcode, Type *Val,
|
||||
unsigned Index) const {
|
||||
unsigned Index) const {
|
||||
assert(Val->isVectorTy() && "This must be a vector type");
|
||||
|
||||
if (Index != -1) {
|
||||
if (Index != -1u) {
|
||||
// Legalize the type.
|
||||
std::pair<unsigned, MVT> LT =
|
||||
getTypeLegalizationCost(Val->getContext(), TLI->getValueType(Val));
|
||||
|
Loading…
x
Reference in New Issue
Block a user