SuccToSinkTo dominates all users of MI, so MI->getParent() must dominate SuccToSinkTo, otherwise there will be use without def issue?
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Yeah, I also got some assertion failures on PowerPC. They are related to sinking instructions with PHI users. Thanks for the good assertions ways. @nikic
Comment Actions
For PHI instruction the values have to dominate the end of the predecessor block for the respective PHI input; you don't necessarily have to dominate the PHI itself.