summaryrefslogtreecommitdiff
path: root/test/Transforms/ScalarRepl
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-03-13 21:18:46 +0000
committerLang Hames <lhames@gmail.com>2013-03-13 21:18:46 +0000
commita991b254f71173f3911be3b313b5304dd9b3b862 (patch)
tree2164b3011b5de9b5f7a80e5834c7643b8b157264 /test/Transforms/ScalarRepl
parentb91ce4fd9be6e4b7d7cf061c9569b67f2a90713e (diff)
downloadllvm-a991b254f71173f3911be3b313b5304dd9b3b862.tar.gz
llvm-a991b254f71173f3911be3b313b5304dd9b3b862.tar.bz2
llvm-a991b254f71173f3911be3b313b5304dd9b3b862.tar.xz
Make LTO codegen use a PassManager, rather than a FunctionPassManager, for the
codegen passes. This brings it in to line with clang and llc's codegen setup, and tidies up the code. If I understand correctly, adding ModulePasses to a FunctionPassManager is bogus. It only seems to explode if an added ModulePass depends on a FunctionPass though, which might be why this code has survived so long. Fixes <rdar://problem/13386816>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ScalarRepl')
0 files changed, 0 insertions, 0 deletions