Skip to content

Commit 88a1855

Browse files
committed
Fix MSVC signed/unsigned mismatch warning
1 parent b8c9b06 commit 88a1855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13451,7 +13451,7 @@ struct NodeExtensionHelper {
1345113451
? MVT::getFloatingPointVT(NarrowSize)
1345213452
: MVT::getIntegerVT(NarrowSize);
1345313453

13454-
assert(NarrowSize >= (SupportsExt == ExtKind::FPExt ? 16 : 8) &&
13454+
assert((int)NarrowSize >= (SupportsExt == ExtKind::FPExt ? 16 : 8) &&
1345513455
"Trying to extend something we can't represent");
1345613456
MVT NarrowVT = MVT::getVectorVT(EltVT, VT.getVectorElementCount());
1345713457
return NarrowVT;

0 commit comments

Comments
 (0)