Skip to content

Commit 7b5b521

Browse files
authored
[DFAJumpThreading][NFC] Use const reference as range variable (#90342)
Fixes #90286
1 parent b5e8555 commit 7b5b521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ struct AllSwitchPaths {
553553
return;
554554
}
555555

556-
for (PathType Path : LoopPaths) {
556+
for (const PathType &Path : LoopPaths) {
557557
ThreadingPath TPath;
558558

559559
const BasicBlock *PrevBB = Path.back();

0 commit comments

Comments
 (0)