diff options
author | Lang Hames <lhames@gmail.com> | 2013-03-13 21:18:46 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-03-13 21:18:46 +0000 |
commit | a991b254f71173f3911be3b313b5304dd9b3b862 (patch) | |
tree | 2164b3011b5de9b5f7a80e5834c7643b8b157264 /test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll | |
parent | b91ce4fd9be6e4b7d7cf061c9569b67f2a90713e (diff) |
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/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll')
0 files changed, 0 insertions, 0 deletions