[PATCH] D14965: [llc/opt] Add an option to run all passes twice

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 14:52:52 PST 2015


Thanks! Sorry about that.

On Fri, Dec 4, 2015 at 5:51 PM, Derek Schuff <dschuff at google.com> wrote:

> dschuff added a subscriber: dschuff.
>
> ================
> Comment at: llvm/trunk/tools/opt/opt.cpp:623
> @@ +622,3 @@
> +    Buffer.clear();
> +    std::unique_ptr<Module> M2(CloneModule(M.get()));
> +    Passes.run(*M2);
> ----------------
> This use of CloneModule means that llc now depends on TransformUtils (so
> it needed to be added to required_libraries in LLVMBuild.txt and
> CMakeLists.txt)
>
> Fixed in r254786
>
>
> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D14965
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151204/4bdc707e/attachment.html>


More information about the llvm-commits mailing list