Patch for transform dependencies

Hi,

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.

Domagoj

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

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

Applied, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060508/034683.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060508/034684.html

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.

-Chris