<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 6, 2016 at 6:45 AM, Krzysztof Parzyszek via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">This happens when the mayLoad field inferred from the instruction pattern is different from the mayLoad field that is explicitly set in the instruction definition.<br>
<br>
TableGen will try to infer certain properties from the pattern used to match an instruction. If, at the same time, the property is specified explicitly, it must match what TableGen inferred. If there is a conflict between the two, this kind of an error shows up.<br>
<br>
Not sure if this helps.<br>
<br>
-Krzysztof</blockquote><div><br></div><div>I'm not sure I understand it. Here is the change that I made for my target</div><div><br></div><div>class InstEscala<dag outs, dag ins, string asmstr, list<dag> pattern></div><div> : Instruction {</div><div>....</div><div>....</div><div> let mayLoad = 0;</div><div>....</div><div>....</div><div> }</div></div><div class="gmail_extra"><br></div>All I have done is set mayLoad to 0. Would you mind using your explanation in the context of my change? I think once there is a specific case it is easier to understand what is the problem.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</div></div>