[llvm-dev] Adding Flag Support in LLVM Backend

Diana Picus via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 21 02:33:13 PDT 2017


Hi,

You can find plenty of examples (including in the vectorizer) if you
grep for cl::opt.
The docs are here:
https://llvm.org/docs/CommandLine.html

Hope that helps,
Diana

On 21 July 2017 at 10:47, hameeza ahmed via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hello.
>
> I need to introduce a new flag in llc command like llc -mV to control the
> vectorization. How can I achieve this??
>
>
> Please help.
>
> Thank You
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


More information about the llvm-dev mailing list