- Code duplication let to a code sequence which looks like:
ll arr1 = arr + offset arr2 = arr1 - offset
thereby making the Offset field useless. Fix this.
NOTE: Offset on HostPtr still looks suspicious.
Paths
| Differential D38353
[Polly] [PPCGCodeGeneration] Fix offset computation for managed arrays. Needs RevisionPublic Authored by bollu on Sep 28 2017, 5:09 AM.
Details Summary
ll arr1 = arr + offset arr2 = arr1 - offset thereby making the Offset field useless. Fix this. NOTE: Offset on HostPtr still looks suspicious.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 28 2017, 5:24 AM Comment Actions Actually the tests requires some changes.
This revision now requires changes to proceed.Dec 1 2017, 4:33 AM
Revision Contents
Diff 116971 lib/CodeGen/PPCGCodeGeneration.cpp
managed-mem-with-offset.ll
|
Please don't hardcode unnamed registers