We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d83fa commit 0d0daefCopy full SHA for 0d0daef
llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
@@ -458,7 +458,7 @@ bool LoadStoreOpt::processMergeCandidate(StoreMergeCandidate &C) {
458
for (auto AliasInfo : reverse(C.PotentialAliases)) {
459
MachineInstr *PotentialAliasOp = AliasInfo.first;
460
unsigned PreCheckedIdx = AliasInfo.second;
461
- if (static_cast<unsigned>(Idx) < PreCheckedIdx) {
+ if (Idx < PreCheckedIdx) {
462
// Once our store index is lower than the index associated with the
463
// potential alias, we know that we've already checked for this alias
464
// and all of the earlier potential aliases too.
0 commit comments