Skip to content

Commit

Permalink
Fix -Wsign-compare from D149893.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebar committed May 26, 2023
1 parent a419ec4 commit 8d57b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
Expand Up @@ -1422,7 +1422,7 @@ std::vector<Chain> Vectorizer::gatherChains(ArrayRef<Instruction *> Instrs) {
// chains. This limits the O(n^2) behavior of this pass while also allowing
// us to build arbitrarily long chains.
for (Instruction *I : Instrs) {
constexpr size_t MaxChainsToTry = 64;
constexpr int MaxChainsToTry = 64;

bool MatchFound = false;
auto ChainIter = MRU.begin();
Expand Down

0 comments on commit 8d57b00

Please sign in to comment.