[PATCH] D11002: CodeGenPrepare: add disablebranchopts and addrsinkusinggeps as pass options
Eric Christopher
echristo at gmail.com
Tue Jul 7 10:43:18 PDT 2015
On Tue, Jul 7, 2015 at 10:40 AM escha <escha at apple.com> wrote:
> The way we use this looks roughly like this:
>
> addPass(createCodeGenPreparePass(TM, true, true));
> addPass(createOutOfTreeGPUCodeGenPreparePass(*TM));
> addPass(createFMAContractionPass());
> addPass(createOutOfTreeGPUSpecificCodeGenPreparePass( /* args */ );
>
>
OK. Is it a global option basically? Is it what I would consider subtarget
dependent? I.e. trying to figure out why to make it part of the constructor
or make it take a resolver function for each Function it is called on. I'm
inclined to think the latter.
-eric
>
> Repository:
> rL LLVM
>
> http://reviews.llvm.org/D11002
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150707/02b69781/attachment.html>
More information about the llvm-commits
mailing list