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