only run GlobalDCE at -O3 and run it late instead of early.
authorChris Lattner <sabre@nondot.org>
Sun, 1 Nov 2009 19:09:12 +0000 (19:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Nov 2009 19:09:12 +0000 (19:09 +0000)
commitc92712184faf007afa28503da77e9a962dceb8cc
tree309be57398cfef6ea5238a0611ca6263adb058f2
parentec4c7b976645cc49ccfe8dc1c3bfc31ec5fedc62
only run GlobalDCE at -O3 and run it late instead of early.
GlobalOpt already deletes trivially dead functions/globals,
so GlobalDCE only adds values for cycles of dead things.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85731 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StandardPasses.h