<p dir="ltr">Interesting, I wasn't seeing it but I'll give it a look. </p>
<p dir="ltr">Thanks!</p>
<p dir="ltr">-eric</p>
<div class="gmail_quote">On May 6, 2014 8:44 AM, "scott douglass" <<a href="mailto:sdouglass@arm.com">sdouglass@arm.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
This patch is making 'llc -mcpu=help' land on an assert for me (after a<br>
repetition of the help output and some spurious not-recognized messages).<br>
Is it just me?<br>
<br>
> llc -mcpu=help<br>
Available CPUs for this target:<br>
...<br>
Available features for this target:<br>
...<br>
Use +feature to enable a feature, or -feature to disable it.<br>
For example, llc -mcpu=mycpu -mattr=+feature1,-feature2<br>
'help' is not a recognized processor for this target (ignoring processor)<br>
Available CPUs for this target:<br>
...<br>
'help' is not a recognized processor for this target (ignoring processor)<br>
'help' is not a recognized processor for this target (ignoring processor)<br>
'help' is not a recognized processor for this target (ignoring processor)<br>
llc:<br>
/tmp/plgbuild/abs_build/OpenSource_llvm_0_0_562_2331917/trunk/work/src/llvm/<br>
lib/Target/X86/X86Subtarget.cpp:234: void<br>
llvm::X86Subtarget::resetSubtargetFeatures(llvm::StringRef,<br>
llvm::StringRef): Assertion `(!In64BitMode || HasX86_64) && "64-bit code<br>
requested on a subtarget that doesn't support it!"' failed.<br>
...<br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:llvm-commits-bounces@cs.uiuc.edu">llvm-commits-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:llvm-commits-">llvm-commits-</a><br>
> <a href="mailto:bounces@cs.uiuc.edu">bounces@cs.uiuc.edu</a>] On Behalf Of Eric Christopher<br>
> Sent: 05 May 2014 23:02<br>
> To: <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> Subject: [llvm] r208009 - Remove a call to std::exit in a library. Make<br>
"Help"<br>
> return<br>
><br>
> Author: echristo<br>
> Date: Mon May 5 17:01:47 2014<br>
> New Revision: 208009<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=208009&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=208009&view=rev</a><br>
> Log:<br>
> Remove a call to std::exit in a library. Make "Help" return a 0 as a<br>
default<br>
> answer.<br>
><br>
> Modified:<br>
> llvm/trunk/lib/MC/SubtargetFeature.cpp<br>
> [...]<br>
<br>
<br>
<br>
</blockquote></div>