[SwitchLowering] Remove incoming values in the reverse order
authorMichael Liao <michael.liao@intel.com>
Tue, 17 Mar 2015 18:03:10 +0000 (18:03 +0000)
committerMichael Liao <michael.liao@intel.com>
Tue, 17 Mar 2015 18:03:10 +0000 (18:03 +0000)
commitde3983775efdbcd0121bcaf65a6d45d21a7fb269
tree6a0128227ac09cdd381077a7dab21d156dd04ef9
parent5a6068638ea471506bcaf4c06c122e6b7e420d8a
[SwitchLowering] Remove incoming values in the reverse order

- To prevent invalidating *successive* indices.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerSwitch.cpp
test/Transforms/Util/lowerswitch.ll