Keep at most one value read MemoryAccess per value and statement; multiple generated loads do not have any additional effect. As one such MemoryAccess can cater multiple uses within the statement, the AccessInstruction property is not unique any more and set to nullptr.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This looks generally good to me (besides some minor comments), but let's wait for the phone call tonight.
include/polly/ScopInfo.h | ||
---|---|---|
833 ↗ | (On Diff #42792) | elsewhere |
1000 ↗ | (On Diff #42792) | ... or unexisting. |
1935 ↗ | (On Diff #42792) | statement |
1942 ↗ | (On Diff #42792) | I would prefer to call this ensureValueRead() as this corresponds better with the surrounding code (the map is called ValueReads). |