This is an archive of the discontinued LLVM Phabricator instance.

fix overflow in example code.
Needs ReviewPublic

Authored by 0x00-pl on Mar 3 2022, 2:40 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

fix overflow in example code in 'llvm/lib/Transforms/Scalar/LoopInterchange.cpp'
A[j-1][i-1]+k; is access memory before A when i and j is 0.

Diff Detail

Event Timeline

0x00-pl created this revision.Mar 3 2022, 2:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 2:40 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
0x00-pl requested review of this revision.Mar 3 2022, 2:40 AM
0x00-pl updated this revision to Diff 412942.Mar 3 2022, 11:37 PM
0x00-pl edited the summary of this revision. (Show Details)
0x00-pl updated this revision to Diff 416815.Mar 20 2022, 8:01 PM