<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 5, 2014 at 5:36 PM, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I skimmed CodeGen/X86 for tests containing 'dbg.value' (there are about two dozen) and none of them looked like they were verifying codegen.  Some looked like
 they were making assumptions about codegen but were more interested in verifying correct debug location descriptions (e.g. a stack variable used the right base register, or that a range terminated at the point where a register should have been clobbered).<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p></div></div></blockquote><div><br></div><div>Nope, seems there isn't anything yet. I was just asking if there was, to combine them. The answer of "nope, this is the first for x86" works great.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There is *nothing* set up to generate code with and without debug info, to make sure they are the same.</span></p>
</div></div></blockquote><div><br></div><div>While trust me, I agree with you that this is an area in need of much work, I wasn't imagining a pattern which doesn't exist at all, I was thinking of one that I touched quite recently in test/Transforms/Inline/ignore-debug-info.ll. I wasn't sure if there was something along these lines in the X86 tree, but seems not. =/</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If we produce two fixes along these lines and it makes sense to put them in the same file, sure we should try to put them in the same file.</span></p>
</div></div></blockquote><div><br></div><div>Yea, I expect this will not be the last. =/</div></div></div></div>