Skip to content

Commit 47b93ab

Browse files
authored
Merge pull request #17063 from Dante-Broggi/patch-4
2 parents 905a6b4 + 43f79df commit 47b93ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/SILCombiner/SILCombinerMiscVisitors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static SILValue isConstIndexAddr(SILValue val, unsigned &index) {
485485
/// Example in SIL pseudo code:
486486
/// %0 = string_literal "abc"
487487
/// %1 = integer_literal 2
488-
/// %2 = index_addr %0, %2
488+
/// %2 = index_addr %0, %1
489489
/// %3 = load %2
490490
/// ->
491491
/// %3 = integer_literal 'c'

0 commit comments

Comments
 (0)