On Mon, Jun 24, 2013 at 6:49 PM, Nick Lewycky <[email protected]> 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?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to