<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jan 29, 2012, at 10:38 PM, Douglas Gregor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Author: dgregor<br>Date: Mon Jan 30 00:38:25 2012<br>New Revision: 149227<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=149227&view=rev">http://llvm.org/viewvc/llvm-project?rev=149227&view=rev</a><br>Log:<br>Introduce TargetInfo::hasFeature() to query various feature names in<br>each of the targets. Use this for module requirements, so that we can<br>pin the availability of certain modules to certain target features,<br>e.g., provide a module for xmmintrin.h only when SSE support is<br>available.<br></span></blockquote></div><br><div>Hi Doug,</div><div><br></div><div>This is something that should probably go through a general design discussion on cfe-dev.  This is making this stuff permanent API, which I think warrants discussion.</div><div><br></div><div>Ted</div></body></html>