Revert "Disable codegen prepare critical edge splitting. Machine instruction passes...
commit7c5f844e5abdbd563faf1029d9cb80e1ad6e8845
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 27 Sep 2010 18:43:48 +0000 (27 18:43 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 27 Sep 2010 18:43:48 +0000 (27 18:43 +0000)
tree1a72b04723816409770f23f38ae4818032245893
parent57cf7e6666a6ef11381405389596a20fbb85d405
Revert "Disable codegen prepare critical edge splitting. Machine instruction passes now"

This reverts revision 114633. It was breaking llvm-gcc-i386-linux-selfhost.

It seems there is a downstream bug that is exposed by
-cgp-critical-edge-splitting=0. When that bug is fixed, this patch can go back
in.

Note that the changes to tailcallfp2.ll are not reverted. They were good are
required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
test/CodeGen/ARM/lsr-on-unrolled-loops.ll
test/CodeGen/Thumb/2010-07-15-debugOrdering.ll
test/CodeGen/X86/2008-02-18-TailMergingBug.ll
test/CodeGen/X86/lsr-reuse.ll
test/CodeGen/X86/phi-immediate-factoring.ll
test/CodeGen/X86/phys_subreg_coalesce-2.ll
test/CodeGen/X86/postra-licm.ll
test/CodeGen/X86/pr2659.ll
test/CodeGen/X86/tail-opts.ll