Now that tailduplication does not bork SSA form, run mem2reg earlier in gccas.
authorChris Lattner <sabre@nondot.org>
Sun, 1 Feb 2004 07:24:53 +0000 (07:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Feb 2004 07:24:53 +0000 (07:24 +0000)
commit05e4e8a5d26828380a0f0c7133860928170f9de8
tree7d8475826c249452036961c92fc7cb2419419b28
parentc23396e8de5d28b964b0d3cd74c7e3681853445e
Now that tailduplication does not bork SSA form, run mem2reg earlier in gccas.
This tremendously improves the code generated by the LLVM optimizer, primarily
by making the inliner more aggressive.  For example, it improves the stepanov
benchmark from 55.56 mega-additions/sec to 98.04 Ma/s.  It also improves the
oopack/iterator benchmark from 338.3MFLOPS/s to 1103.4MFLOPS/s.  Less noteworthy,
it improves oopack/matrix from 573 -> 641 MFLOPS/s.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11053 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccas/gccas.cpp