Fix switch_to_lookup_table.ll test from r163302.
authorHans Wennborg <hans@hanshq.net>
Thu, 6 Sep 2012 10:10:35 +0000 (10:10 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 6 Sep 2012 10:10:35 +0000 (10:10 +0000)
commit3bd51b8df3212f765e6ffee06e32b9a670f9b16c
treefc328aa72c500e00393de72de8760195acccd6e6
parentba8562af4440753ba6175ccd54d71f79f5c4f3dc
Fix switch_to_lookup_table.ll test from r163302.

The lookup tables did not get built in a deterministic order.
This makes them get built in the order that the corresponding phi nodes
were found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/switch_to_lookup_table.ll