Commit f3f7f08
authored
[SLP] Fix Wsign-compare warning (NFC) (llvm#131948)
llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4805:57:
warning: comparison of integer expressions of different signedness:
‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
[](const auto &P) { return P.value() % 2 != P.index() % 2; }))
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~1 parent b8271ec commit f3f7f08
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4802 | 4802 | | |
4803 | 4803 | | |
4804 | 4804 | | |
4805 | | - | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
4806 | 4808 | | |
4807 | 4809 | | |
4808 | 4810 | | |
| |||
0 commit comments