r184812 - Make -vectorize-... proper cc1 flags instead of abusing -backend-option. Fixes
Chandler Carruth
chandlerc at google.com
Mon Jun 24 19:01:37 PDT 2013
On Mon, Jun 24, 2013 at 6:49 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> +def vectorize_loops : Flag<["-"], "vectorize-loops">,
> + HelpText<"Run the Loop vectorization passes">;
> +def vectorize_slp : Flag<["-"], "vectorize-slp">,
> + HelpText<"Run the SLP vectorization passes">;
> +def vectorize_slp_aggressive : Flag<["-"], "vectorize-slp-aggressive">,
> + HelpText<"Run the BB vectorization passes">;
>
Rather than duplicating all these flags at both the driver level and the
CC1 level and translating between them, how about just telling the driver
to automatically forward the driver layer flags to CC1 and CC1 recognize
them?
Also, don't you need to serialize them in the Frontend code as well as read
them in?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130624/0a415668/attachment.html>
More information about the cfe-commits
mailing list