[all-commits] [llvm/llvm-project] b4f54b: [llvm][LoongArch] Fix compiler warning produced by...
David Spickett via All-commits
all-commits at lists.llvm.org
Fri Oct 3 08:12:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b4f54bf548839ebe3308b1979b448403c2ba2a81
https://github.com/llvm/llvm-project/commit/b4f54bf548839ebe3308b1979b448403c2ba2a81
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
Log Message:
-----------
[llvm][LoongArch] Fix compiler warning produced by assert
Fixes #154918
tion ‘llvm::SDValue fillSubVectorFromBuildVector(llvm::BuildVectorSDNode*, llvm::SelectionDAG&, llvm::SDLoc, const llvm::LoongArchSubtarget&, llvm::EVT, unsigned int)’:
/home/davspi01/work/open_source/llvm-project/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp:2863:16: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits]
2863 | assert(first >= 0 &&
| ~~~~~~^~~~
first is unsigned so this part of the expression is redundant.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list