summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-26 20:45:33 +0000
committerChris Lattner <sabre@nondot.org>2011-04-26 20:45:33 +0000
commit029afe4787b49805963c52819321174b757e6df9 (patch)
tree278d1b51b76c0913b55a2b69fc5acd7d44f504d8 /clang/lib/CodeGen
parent489b52572cc229a6f911b7709c189afe9bfefb67 (diff)
downloadbcm5719-llvm-029afe4787b49805963c52819321174b757e6df9.tar.gz
bcm5719-llvm-029afe4787b49805963c52819321174b757e6df9.zip
make a couple of changes to the standard pass pipeline:
1. Only run the early (in the module pass pipe) instcombine/simplifycfg if the "unit at a time" passes they are cleaning up after runs. 2. Move the "clean up after the unroller" pass to the very end of the function-level pass pipeline. Loop unroll uses instsimplify now, so it doesn't create a ton of trash. Moving instcombine later allows it to clean up after opportunities are exposed by GVN, DSE, etc. 3. Introduce some phase ordering tests for things that are specifically intended to be simplified by the full optimizer as a whole. This resolves PR2338, and is progress towards PR6627, which will be generating code that looks similar to test2. llvm-svn: 130241
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud