Thanks for the suggestion. I ran verify-machineinstrs and found that I've definitely been doing something wrong, for quite a while at least (I assume that live interval analysis and the particular benchmark just happened to expose it). Results are at <a href="http://pastebin.com/5zeUDVXK">http://pastebin.com/5zeUDVXK</a>.<div>
<br></div><div>I'm not entirely sure what is wrong here - I assume it has something to do with my 'special' instruction <span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif;font-size:12px;line-height:21px;background-color:rgb(255,255,255)">LDri_ab. </span><span style="font-size:12px;line-height:21px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif">This instruction is a load with an 'address writeback' - ld.ab r0, [r1, 5] is equivalent to ld r0, [r1]; add r1, r1, 5. As it was very difficult to match such behaviour automatically, I actually only generate them manually for prologue/epilogue emission, so the tablegen def is like:</font></span></div>
<div><span style="font-size:12px;line-height:21px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="font-size:12px;line-height:21px;background-color:rgb(255,255,255)"><div>
<font face="courier new, monospace">def LDri_ab : Pseudo<(outs CPURegs:$src), (ins MEMri:$addr),</font></div><div><font face="courier new, monospace">                    "ld.ab $src,$addr",</font></div><div><font face="courier new, monospace">                    []>;</font></div>
<div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">I'm guessing that the warning is because such an instruction doesn't tell LLVM what it uses nor what it kills? Is there a way I can do this? Alternatively, if the reason is something else, I'd be happy to know that too ;).</div>
<div style="font-family:arial,helvetica,sans-serif"><br>Stephen</div></span></div><div><br><div class="gmail_quote">On 23 October 2012 16:50, Jakob Stoklund Olesen <span dir="ltr"><<a href="mailto:stoklund@2pi.dk" target="_blank">stoklund@2pi.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im"><br><div><div>On Oct 23, 2012, at 2:10 AM, Stephen McGruer <<a href="mailto:stephen.mcgruer@gmail.com" target="_blank">stephen.mcgruer@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><span style="font-family:Optima;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">I have a target backend which is currently causing live interval analysis to throw 'Interval not live at use' errors for many of my benchmarks. I imagine that this is caused by missing information for my target (probably in the instructioninfo tablegen?), but I am having difficulties in both debugging and fixing this problem, and would appreciate any advice or help anyone can give.</span><br>
</blockquote></div><br></div><div>Probably, -verify-machineinstrs will tell you what's wrong.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/jakob</div><div><br></div></font></span></div></blockquote>
</div><br></div>