<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Misha:<div><br></div><div>It's not like I can ssh into the x86_64 buildbot, so I really can't tell. All I can tell is that I get blamed for a failed build.</div><div><br></div><div><br></div><div>-scooter</div><div><br><div><div>On Dec 30, 2008, at 4:55 PM, Misha Brukman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">2008/12/30 Scott Michel <span dir="ltr"><<a href="mailto:scottm@aero.org" target="_blank">scottm@aero.org</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Not entirely sure how to categorize this particular problem, but it's<br> clearly platform test related: "grep -w" appears to operate<br> differently on the x86_64 linux buildbot versus my local Mac OS<br> 10.4.11 and Ubuntu x86_64. In the CellSPU's shift_ops.ll test case,<br> "grep -w shlh" returns the correct 9 expected occurances, whereas the<br> x86_64 buildbot finds 10.</blockquote><div><br>Does the asm output differ, or does grep output itself differ on these two platforms, with the same asm input file?  I just took the .s output file from a run on an x86/Linux box, and tested it with grep on multiple systems, including the ones you list, and they all agree the answer is 9.<br> <br>Can you diff the assembly files generated on those two platforms (though they should be identical, since llc specifies the architecture)?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Any suggestions for a workaround, other than to ditch using "grep -w"?</blockquote><div><br>Personally, I think that testing as we have for optimization correctness via 'grep' should be replaced by unittests, which are much more precise.<br> </div></div><br>Misha<br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">LLVM Developers mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <span class="Apple-converted-space">        </span><a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a></div> </blockquote></div><br></div></body></html>