AliasSetTracker was crashing when the UnknownInstruction
was reduced to Value (llvm.invariant.group.barrier(null) to null)
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5992 Build 5992: arc lint + arc unit
Event Timeline
Comment Actions
Hi Piotr,
I've been looking at this bug too. Unfortunately changing the cast to dyn_cast_or_null is not sufficient -- once the ValueHandle has been RAUW'ed to something else, you've lost the instruction, and so you have an incomplete list of UnknownInsts.
Comment Actions
I haven't got that deep into that. Are you working on it right now, or do you have some ideas how to fix it?
Comment Actions
Yes, we need a VH that does not track RAUW but nulls itself out on deletion. I had a fix that I had to revert and I'm currently working on figuring out a way to reland it.
Comment Actions
If you will have fix, please add this patch as dependency https://reviews.llvm.org/D32423