Skip to content

Commit 9e53574

Browse files
[ARM] Avoid repeated hash lookups (NFC) (llvm#109569)
1 parent 5b9206d commit 9e53574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3289,7 +3289,7 @@ bool ARMPreAllocLoadStoreOpt::DistributeIncrements() {
32893289
continue;
32903290

32913291
Register Base = MI.getOperand(BaseOp).getReg();
3292-
if (!Base.isVirtual() || Visited.count(Base))
3292+
if (!Base.isVirtual())
32933293
continue;
32943294

32953295
Visited.insert(Base);

0 commit comments

Comments
 (0)