<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 3, 2016, at 14:48, Rail Shafigulin <<a href="mailto:rail@esenciatech.com" class="">rail@esenciatech.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Feb 2, 2016 at 8:42 PM, Matt Arsenault <span dir="ltr" class=""><<a href="mailto:arsenm2@gmail.com" target="_blank" class="">arsenm2@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class=""><span class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 16:52, Rail Shafigulin <<a href="mailto:rail@esenciatech.com" target="_blank" class="">rail@esenciatech.com</a>> wrote:</div><br class=""><div class=""><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">def SDT_EscalaSetFlag : SDTypeProfile<0, 3, [SDTCisSameAs<0, 1>]>;</span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></span></div></blockquote></div><br class=""></span><div class="">I think for setting an implicit register, you still need to have 1 result here.</div><div class=""><br class=""></div><div class="">If you look at SDTX86CmpPTest, I think this is similar to what you are trying to do.</div><span class=""><font color="#888888" class=""><div class=""><br class=""></div><div class="">-Matt</div></font></span></div></blockquote></div><br class="">def SDTX86CmpPTest : SDTypeProfile<1, 2, [SDTCisVT<0, i32>,<br class=""> SDTCisVec<1>,<br class=""> SDTCisSameAs<2, 1>]>;<br class=""><br class=""></div><div class="gmail_extra">This is confusing to me. This tells me that there is 1 result but and 2 operands. But then it says that operands 2 and 1 are of the same type, SDTCisSameAs<2, 1>. Given that operand numbering starts at 0, how can there be operands 2 and 1? <br class=""></div></div></div></blockquote><div><br class=""></div><div>The results are numbered starting from 0. In this case with 1 result, 0 is the output operand, and 1 and 2 are the inputs.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Based on the previous answer my understanding is that LLVM is complaining because it doesn't know what register to use. What is unclear to me is why? I already had 2 register classes before and everything was working. All I've done is that I had added an extra class. After that LLVM started to complain. And this is what puzzles me.<br class=""></div></div></div></blockquote><div>Did you add a register class for a special condition register? Did you set it as isAllocatable = 0?</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"> </div><div class="gmail_extra"><br class=""></div>As usual, any insight into the issue and any help is greatly appreciated.<br class=""><br class=""><div class=""><div class="gmail_extra">-- <br class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">Rail Shafigulin<br class=""></div>Software Engineer <br class="">Esencia Technologies<br class=""></div></div></div></div>
</div></div></div>
</div></blockquote></div><br class=""></body></html>