Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
You need to update phi-translation.ll for this change. From a cursory look I think the results improve while still being correct.
llvm/include/llvm/Analysis/MemorySSA.h | ||
---|---|---|
1258–1272 | A slightly more accurate check would be if (Location.Size != LocationSize::beforeOrAfterPointer()). If the size is already unknown originally, then we don't need to bother with phi translation either. |
This is because PerformedPhiTranslation no longer gets set. After looking a bit closer, I think this flag is a leftover from an old implementation. Submitted https://reviews.llvm.org/D133404 to remove.
llvm/include/llvm/Analysis/MemorySSA.h | ||
---|---|---|
1269 | These codes here seem to make sense. But deleting them would not cause any tests to fail. I think it is necessary to add test cases to cover it. |
These codes here seem to make sense. But deleting them would not cause any tests to fail. I think it is necessary to add test cases to cover it.