<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 9, 2012, at 11:01 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Wed, May 9, 2012 at 10:53 AM, Bob Wilson <span dir="ltr"><<a href="mailto:bob.wilson@apple.com" target="_blank">bob.wilson@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: bwilson<br>
Date: Wed May  9 12:53:10 2012<br>
New Revision: 156487<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=156487&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=156487&view=rev</a><br>
Log:<br>
Ignore a "generic" return value from getHostCPUName.  <<a href="rdar://problem/11314502">rdar://problem/11314502</a>><br></blockquote><div><br></div><div>Is this in a testable codepath?</div></div>
</blockquote></div><br><div>I don't think so.  getHostCPUName uses the CPUID instruction to check the processor that it's running on.  I tested it by temporarily hacking that function to always return "generic" but I don't think there's a way to test it otherwise.</div></body></html>