<div dir="ltr">I'm trying that out now, good idea, looks like there are a few failures though.<div><br></div><div>Do you know anybody who is able to add new 'components' to LLVM's BugZilla? AVR is missing.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 10:05 PM, Roel Jordans via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Another option is to set the AVR triple as default target during
config with something like:<br>
</p>
<pre class="m_8580147553157751266code m_8580147553157751266highlight"><code><span id="m_8580147553157751266LC14" class="m_8580147553157751266line"><span class="m_8580147553157751266s">-DLLVM_DEFAULT_TARGET_TRIPLE="<wbr>avr-unknown-unknown"</span></span></code></pre>
<p>That seems to work quite nicely for some of our own targets here,
provides you with some more test coverage, and avoids having to
build the x86 target.<br>
</p>
<p>Cheers,</p>
<p> Roel<br>
</p><div><div class="h5">
<br>
<div class="m_8580147553157751266moz-cite-prefix">On 19-11-16 04:04, Dylan McKay via
llvm-commits wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I didn't realise that it was because they were
targeting the host, that makes sense.
<div><br>
</div>
<div>It's impossible to self-host LLVM on AVR, so including the
X86 backend is the easiest way forward anyway.</div>
<div><br>
</div>
<div>Thanks for checking anyway :)</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Nov 19, 2016 at 3:57 PM,
Michael Kuperstein <span dir="ltr"><<a href="mailto:mkuper@google.com" target="_blank">mkuper@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I looked at a couple, and they actually don't
specify a triple - which means they expect to run with the
host triple.
<div>I think expecting to be able to target the host is
reasonable behavior, so this is probably fine.</div>
<div><br>
</div>
<div>Sorry for the noise!</div>
</div>
<div class="m_8580147553157751266HOEnZb">
<div class="m_8580147553157751266h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 18, 2016 at 6:54
PM, Dylan McKay <span dir="ltr"><<a href="mailto:dylanmckay34@gmail.com" target="_blank">dylanmckay34@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yes, here's some of the tests that
failed
<div><br>
</div>
<div>
<ol style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:10px">
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2002-04-14-UnexpectedUnsignedType.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2002-04-14-UnexpectedUns<wbr>ignedType.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-27-phifcmpd.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-27-phifcmpd.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2002-04-16-StackFrameSizeAlignment.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2002-04-16-StackFrameSiz<wbr>eAlignment.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-27-useboolinotherbb.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-27-useboolinothe<wbr>rbb.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-27-usefsubasbool.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-27-usefsubasbool<wbr>.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-28-ManyArgs.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-28-ManyArgs.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-30-BadFoldGEP.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-30-BadFoldGEP.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-05-30-BadPreselectPhi.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-05-30-BadPreselectP<wbr>hi.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-07-06-BadIntCmp.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-07-06-BadIntCmp.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-07-07-BadLongConst.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-07-07-BadLongConst.<wbr>ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-07-08-BadCastToBool.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-07-08-BadCastToBool<wbr>.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2004-05-09-LiveVarPartialRegister.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2004-05-09-LiveVarPartia<wbr>lRegister.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2003-07-29-BadConstSbyte.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2003-07-29-BadConstSbyte<wbr>.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-04-09-GlobalInPHI.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-04-09-GlobalInPHI.l<wbr>l</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-01-18-SetUO-InfLoop.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-01-18-SetUO-InfLoop<wbr>.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-10-21-longlonggtu.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-10-21-longlonggtu.l<wbr>l</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-10-18-ZeroSizeStackObject.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-10-18-ZeroSizeStack<wbr>Object.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-" style="padding:0.1em 1em"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-12-01-Crash.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-12-01-Crash.ll</a></li>
<li class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-alt" style="padding:0.1em 1em;background-color:rgb(246,246,246)"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2/steps/test-llvm/logs/FAIL%3A%20LLVM%3A%3A2005-12-12-ExpandSextInreg.ll" style="color:rgb(68,68,68)" target="_blank">FAIL:
LLVM::2005-12-12-ExpandSextInr<wbr>eg.ll</a><br>
</li>
</ol>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote"><a href="http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/2" target="_blank">http://lab.llvm.org:8011/build<wbr>ers/llvm-avr-linux/builds/2</a><br>
</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">The errors tend to
look like</div>
<div class="gmail_quote">
<pre style="font-family:"courier new",courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-stdout">error: unable to get target for 'x86_64-unknown-linux-gnu'</span></pre>
And at least some of the tests are in the
llvm/test/CodeGen/Generic directory</div>
<div>
<div class="m_8580147553157751266m_3027053675133451578h5">
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">On Sat, Nov 19,
2016 at 3:47 PM, Michael Kuperstein <span dir="ltr"><<a href="mailto:mkuper@google.com" target="_blank">mkuper@google.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">This doesn't look
right. I may be wrong, but AFAIK, we
shouldn't have generic tests that
depend on a specific backend.
<div><br>
</div>
<div>Are those tests that have an
X86 triple that live in a non-X86
specific directory?</div>
<div>
<div class="m_8580147553157751266m_3027053675133451578m_2342416228426955492gmail-h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On
Fri, Nov 18, 2016 at 5:39
PM, Dylan McKay via
llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</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">Author:
dylanmckay<br>
Date: Fri Nov 18 19:39:07
2016<br>
New Revision: 287418<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=287418&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject?rev=287418&view=rev</a><br>
Log:<br>
[AVR] Compile the X86
backend on the AVR builder<br>
<br>
There were a bunch of
generic CodeGen tests
which required that the
X86<br>
backend is included.<br>
<br>
Modified:<br>
zorg/trunk/buildbot/osuosl/mas<wbr>ter/config/builders.py<br>
<br>
Modified:
zorg/trunk/buildbot/osuosl/mas<wbr>ter/config/builders.py<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/builders.py?rev=287418&r1=287417&r2=287418&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-pr<wbr>oject/zorg/trunk/buildbot/osuo<wbr>sl/master/config/builders.py?r<wbr>ev=287418&r1=287417&r2=287418&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
---
zorg/trunk/buildbot/osuosl/mas<wbr>ter/config/builders.py
(original)<br>
+++
zorg/trunk/buildbot/osuosl/mas<wbr>ter/config/builders.py
Fri Nov 18 19:39:07 2016<br>
@@ -81,7 +81,8 @@ def
_get_llvm_builders():<br>
extra_cmake_args=[<br>
"-G", "Unix Makefiles",<br>
"-DCMAKE_BUILD_TYPE:STRING=Re<wbr>lease",<br>
-
"-DLLVM_TARGETS_TO_BUILD:STRIN<wbr>G=AVR",<br>
+
# We need to compile the
X86 backend due to a few
generic CodeGen tests.<br>
+
"-DLLVM_TARGETS_TO_BUILD:STRIN<wbr>G=AVR;X86",<br>
"-DLLVM_EXPERIMENTAL_TARGETS_<wbr>TO_BUILD:STRING=AVR",<br>
])}<br>
]<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_8580147553157751266mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
llvm-commits mailing list
<a class="m_8580147553157751266moz-txt-link-abbreviated" href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>
<a class="m_8580147553157751266moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>