<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Krzysztof,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sorry I'm new to LLVM and not sure what a 'value type' is.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have 2 register classes and they are defined like this:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div><span style="font-family: "Courier New", monospace;">def CPURegs : RegisterClass<"ABC", [i32], 32, (add R0, R1, R3, R4</span><span style="font-family: "Courier New", monospace;">)>;</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace;">def CFRegs : RegisterClass<"ABC", [i1], 8, (add CF)></span><br>
</div>
<div><span style="font-family: "Courier New", monospace;">{</span><br>
</div>
<div><span style="font-family: "Courier New", monospace;"> let isAllocatable = 0;</span><br>
</div>
<div><span style="font-family: "Courier New", monospace;"> let Size = 8;</span><br>
</div>
<div><span style="font-family: "Courier New", monospace;">}</span></div>
</div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> llvm-dev <llvm-dev-bounces@lists.llvm.org> on behalf of Krzysztof Parzyszek via llvm-dev <llvm-dev@lists.llvm.org><br>
<b>Sent:</b> Thursday, January 10, 2019 11:28 AM<br>
<b>To:</b> llvm-dev@lists.llvm.org<br>
<b>Subject:</b> Re: [llvm-dev] empty list assertion</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">In the definition of register classes, have you provided any value types
<br>
for each class?<br>
<br>
-Krzysztof<br>
<br>
On 1/9/2019 7:19 PM, m m via llvm-dev wrote:<br>
> The file that is causing this assertion contains only 3 include statements<br>
> <br>
> |//===-- ABCOther.td - Describe the ABC Target Machine ----*- tablegen <br>
> -*-===// // // <br>
> //===----------------------------------------------------------------------===//
<br>
> // This is the top level entry point for the ABC target. <br>
> //===----------------------------------------------------------------------===//
<br>
> //===----------------------------------------------------------------------===//
<br>
> // Target-independent interfaces <br>
> //===----------------------------------------------------------------------===//
<br>
> include "llvm/Target/Target.td" <br>
> //===----------------------------------------------------------------------===//
<br>
> // Target-dependent interfaces <br>
> //===----------------------------------------------------------------------===//
<br>
> include "ABCRegisterInfo.td" include "ABC.td" |<br>
> <br>
> <br>
> ------------------------------------------------------------------------<br>
> *From:* Peter Teoh <htmldeveloper@gmail.com><br>
> *Sent:* Sunday, January 6, 2019 12:10 AM<br>
> *To:* m m<br>
> *Cc:* via llvm-dev<br>
> *Subject:* Re: [llvm-dev] empty list assertion<br>
> sorry, ignore my earlier email.<br>
> <br>
> I followed this:<br>
> <a href="https://stackoverflow.com/questions/42881901/how-to-compile-some-modules-in-llvm-with-debug-mode-others-with-release-mode">
https://stackoverflow.com/questions/42881901/how-to-compile-some-modules-in-llvm-with-debug-mode-others-with-release-mode</a><br>
> and got the debug build completed.<br>
> <br>
> <br>
> <br>
> On Sat, Jan 5, 2019 at 10:02 AM Peter Teoh <htmldeveloper@gmail.com <br>
> <<a href="mailto:htmldeveloper@gmail.com">mailto:htmldeveloper@gmail.com</a>>> wrote:<br>
> <br>
> will this help?<br>
> <br>
> <a href="https://opensource.apple.com/source/lldb/lldb-69/docs/building-with-debug-llvm.txt.auto.html">
https://opensource.apple.com/source/lldb/lldb-69/docs/building-with-debug-llvm.txt.auto.html</a><br>
> <br>
> On Sat, Jan 5, 2019 at 9:04 AM m m via llvm-dev<br>
> <llvm-dev@lists.llvm.org <<a href="mailto:llvm-dev@lists.llvm.org">mailto:llvm-dev@lists.llvm.org</a>>> wrote:<br>
> <br>
> Hi,<br>
> I'm trying to do a Debug build for the 1st time and I keep<br>
> getting this assertion:<br>
> <br>
> llvm-tblgen: CodeGenDAGPatterns.cpp:64:<br>
> llvm::EEVT::TypeSet::TypeSet(llvm::ArrayRef<llvm::MVT::SimpleValueType>):<br>
> Assertion `!VTList.empty() && "empty list?"' failed.<br>
> <br>
> I do not know what list this assertion is referring to. Does<br>
> anyone know? I always did Release builds before without any<br>
> problem.<br>
> <br>
> Thanks.<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> llvm-dev@lists.llvm.org <<a href="mailto:llvm-dev@lists.llvm.org">mailto:llvm-dev@lists.llvm.org</a>><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
> <br>
> <br>
> <br>
> -- <br>
> Regards,<br>
> Peter Teoh<br>
> <br>
> <br>
> <br>
> -- <br>
> Regards,<br>
> Peter Teoh<br>
> <br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> llvm-dev@lists.llvm.org<br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
> <br>
<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,<br>
hosted by The Linux Foundation<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
llvm-dev@lists.llvm.org<br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</div>
</span></font></div>
</body>
</html>