<div class="gmail_extra"><div class="gmail_quote">On Sat, Sep 8, 2012 at 1:08 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:asl@math.spbu.ru" target="_blank" class="cremed">asl@math.spbu.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: asl<br>
Date: Sat Sep  8 03:08:27 2012<br>
New Revision: 163464<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=163464&view=rev" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=163464&view=rev</a><br>
Log:<br>
Provide some ACLE C defines. This should fix PR13796<br></blockquote><div><br></div><div>Is this something we can add to our regression test suite?</div><div><br></div><div>Particularly:</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-<br>
+    Builder.defineMacro("__ARM_ARCH", CPUArch.substr(0, 1));<br>
+    StringRef CPUProfile = getCPUProfile(CPU);<br>
+    if (!CPUProfile.empty())<br>
+      Builder.defineMacro("__ARM_ARCH_PROFILE", CPUProfile);<br></blockquote><div><br></div><div>We should definitely check for the newly defined macros.</div></div></div>