Since I will post patch with some changes to
replaceDominatedUsesWith, it would be good to avoid
duplicating code again.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Add early exit. I also tried to change the iterators for
range, but this would change the behavior (and it would crash)
Comment Actions
I'm fine with this refactoring, but I'd like to understand what's your long(er) term plan for this first?
Comment Actions
I am not sure how it will go, because I've found the flaw in my idea when writing this. Check out my recent post on mailing list.
Anyway, even if I won't gonna change this code later, I think it make sense to do the refactor.