Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM thanks!
IIUC it's not possible to write a test for this easily, because the only use of the optimized access in DSE is eliminateRedundantStoresOfExistingValues, which is not applicable if the optimized accesses is liveOnEntry, right?
Comment Actions
I came across this as a compile time improvement. (Edit: For clarity, this was split off a compile time improvement idea which didn't work out. This patch seemed useful potentially, even though the broader idea didn't work.) I could maybe test for the memory ssa printer pass after DSE, but that feels too fragile to be worthwhile.