Hello,

Throwing away dominance info is wasteful if it is so easy to fix. The
immediate dominators are easily known, and iterate_fix_dominators()
can take care of the rest.

And if we're doing to free post-dominance info anyway, do it early to
save some work.

Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk?

Ciao!
Steven

Attachment: switchconv_preserve_dominance_info.diff
Description: Binary data

Reply via email to