Remove duplicate successors from indirectbr instructions before building the machine...
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 11 Feb 2010 00:34:18 +0000 (00:34 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 11 Feb 2010 00:34:18 +0000 (00:34 +0000)
commit598b24c6d1d6eecb558051d79d8b801542663e09
treeaaba1c7b0caf7c5420e8ec4c67e8d26792fe9cd2
parentbe905e26f66e1b34fa4b2f5744b948007fd4ed0a
Remove duplicate successors from indirectbr instructions before building the machine CFG.

This makes early tail duplication run 60 times faster when compiling the Firefox
JavaScript interpreter, see PR6186.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95831 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp