halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.83k stars 1.07k forks source link

Upgrade code using llvm::legacy::PassManager #4964

Open steven-johnson opened 4 years ago

steven-johnson commented 4 years ago

We upgraded the code in Codegen_LLVM.cpp to use the 'modern' PassManager in LLVM quite a while ago, but there is still code in LLVM_Output.cpp and Codegen_PTX_Dev.cpp using the 'legacy' version. We should really upgrade it at some point (since presumably LLVM will remove it at some point and then we'll have to do it in a hurry).

steven-johnson commented 4 years ago

Not at all urgent, but I suspect @alinas can do this in a fraction of the time it would take me, so tagging her with it for now -)