If an instruction is optimized and replaced with another value, all the uses (instructions) of the replaced instruction, now point to said value.
This means that if these uses (instructions) have MemoryAccesses attached, they need to be un-optimized, as they may not longer have teh same clobbering access.
The use case that triggered this is in EarlyCSE w/ MemorySSA, where the replacement value is "undef".
Details
Details
- Reviewers
george.burgess.iv
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 22353 Build 22353: arc lint + arc unit
Event Timeline
Comment Actions
Need to bypass geps when traversing users, use worklist.
Adding test in dependent patch.