<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 3:15 PM, Craig Topper <span dir="ltr"><<a href="mailto:craig.topper@gmail.com" target="_blank">craig.topper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class="gmail-"></span><span class="gmail-"></span><div class="gmail_quote"><div>Do we have a precedent for setting a target independent flag from a target specific cpu string in the clang driver? Want to make sure I understand what the processing on such a thing would look like. Particularly to get the order right so the user can override it.<br></div></div></div></div></blockquote><div><br></div>I think Clang::AddX86TargetArgs() has a target CPU in its arg list, so you could do some checking/adding in there, but I'm just guessing at what's the right way to do this - ask on cfe-dev? <br><div><br></div><div> </div></div><br></div></div>