<div dir="ltr">Can you just use RegVT.getEVTString() here? That's what I did in the other targets when i turned in the change that likely broke this. Seems Lanai isn't in the default all targets list or I would have caught when I committed.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 9:33 AM, JF Bastien 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">Author: jfb<br>
Date: Mon Apr 18 11:33:41 2016<br>
New Revision: 266627<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=266627&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=266627&view=rev</a><br>
Log:<br>
Lanai: fix debug build<br>
<br>
There's currently no raw_ostream &operator<<(SimpleValueType); provided by LLVM. It could be added by refactoring utils/TableGen/CodeGenTarget.cpp:getEnumName, but that's much more work than fixing the build.<br>
<br>
Modified:<br>
    llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp<br>
<br>
Modified: llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp?rev=266627&r1=266626&r2=266627&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp?rev=266627&r1=266626&r2=266627&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp (original)<br>
+++ llvm/trunk/lib/Target/Lanai/LanaiISelLowering.cpp Mon Apr 18 11:33:41 2016<br>
@@ -456,7 +456,7 @@ SDValue LanaiTargetLowering::LowerCCCArg<br>
       }<br>
       default:<br>
         DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "<br>
-                     << RegVT.getSimpleVT().SimpleTy << "\n");<br>
+                     << (int)RegVT.getSimpleVT().SimpleTy << "\n");<br>
         llvm_unreachable("unhandled argument type");<br>
       }<br>
     } else {<br>
<br>
<br>
_______________________________________________<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/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">~Craig</div>
</div>