<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">s/pretty much/definitely/<div class=""><br class=""></div><div class="">Even then, “works” is too strong a word. Caveat emptor and all that.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 23, 2015, at 1:20 PM, Eric Christopher <<a href="mailto:echristo@gmail.com" class="">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Jul 23, 2015 at 10:31 AM Débora Setton Sanches <<a href="mailto:setton.debora@gmail.com" class="">setton.debora@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><span style="font-size:12.8000001907349px" class="">Hi,</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">Is it normal/expected for `llc` to support a different set of targets</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">than `lli`?</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">I have a hello.ll on which this works:</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">$ llc -mtriple=armv7a-linux-</span><span style="font-size:12.8000001907349px" class="">gnueabihf hello.ll</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""># OK, generates hello.s</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">But this doesn't:</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">$ lli -mtriple=armv7a-linux-</span><span style="font-size:12.8000001907349px" class="">gnueabihf hello.ll</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""># lli: error creating EE: No available targets are compatible with</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">this triple, see -version for the available targets.</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">I'm using LLVM from the git mirror:</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">$ lli -version</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">LLVM (</span><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=u4_u6UfvGk27P9ktRFVrbnN5w6x_4XFkjdv-R90mfkM&s=S3BhSstRK0rNlNL1DaFmvkVutrhLzsIGTwv4Mkc2OvA&e=" rel="noreferrer" style="font-size:12.8000001907349px" target="_blank" class="">http://llvm.org/</a><span style="font-size:12.8000001907349px" class="">):</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""> LLVM version 3.7.0svn</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""> Optimized build.</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""> Built Jun 19 2015 (17:35:44).</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""> Default target: x86_64-unknown-linux-gnu</span><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class=""> Host CPU: broadwell</span><br style="font-size:12.8000001907349px" class=""><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">I thought they would both support the same targets...  Why isn't that the case?</span><br style="font-size:12.8000001907349px" class=""><br class=""></div></blockquote><div class=""><br class=""></div><div class="">It's not a simulator, it pretty much only works on the host.</div><div class=""><br class=""></div><div class="">-eric </div></div></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></div></body></html>