Patch for transform dependencies


A number of transforms are actually independent, so here’s a partial fix. I updated the
dependencies in a cluster of transforms: LowerSwitch, Mem2Reg, LowerSelect,
LowerAllocations, UnifyFunctionExitNodes.

The patch has been tested, but not extensively. PassManager doesn’t complain, and
the result of a test pass that requires all these (except for LowerAllocations) together
works fine.


***************************** PATCH BEGIN **********************************************

Index: ./lib/Transforms/Scalar/LowerSwitch.cpp

Applied, thanks:

Sorry for the delay. :frowning:

In the future, please attach the patch to the email (instead of including it inline) as it makes it easier to apply and reduces the chance of the mail program mangling it.