Number to node mapping in DominatorTreeBase is used only during calculation, so there is no point keeping is as a member variable. This patch moves this mapping to Calculate function and passes it to helper functions. It also makes the name more descriptive.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is fine, but at the end of all these patches, can you please make it so there is only one structure storing state for building?
(i don't care whether this is by making genericdomtreebuilder a real class, or passing a single struct around)
I'm okay if the SNCAInfo is a pointer in that struct :)