<div dir="ltr">Can you give the actual code you are trying to use?<br>It should work fine in, say, densemap, if you define the densemapinfo for it.<div><br></div><div>Past that, without seeing exactly how you are trying to use it, it is hard to say what the problem is.</div><div><br></div><div>I would venture a guess if you are doing it in a way that it is trying to default construct these, you are probably not doing it right :)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 19, 2017 at 12:44 PM, Axel Davy 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">This is similar to just allocating the structure.<br>
<br>
Somehow to use maps, it complained without this constructor.<br>
I don't think however any possible initialization value would make sense.<br>
<br>
Perhaps UINT_MAX for Reg and 0 for LaneMask ? To clearly indicate there is error<br>
if you see these in logs ?<span class="HOEnZb"><font color="#888888"><br>
<br>
Axel</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 19/03/2017 20:23, Stanislav Mekhanoshin via Phabricator wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rampitec added inline comments.<br>
<br>
<br>
================<br>
Comment at: include/llvm/CodeGen/RegisterP<wbr>ressure.h:45<br>
+<br>
+  RegisterMaskPair() {}<br>
+<br>
----------------<br>
That is undesirable to have a constructor which does not initialize fields.<br>
<br>
<br>
Repository:<br>
   rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D31123" rel="noreferrer" target="_blank">https://reviews.llvm.org/D3112<wbr>3</a><br>
<br>
<br>
<br>
</blockquote>
<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>
</div></div></blockquote></div><br></div>