<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Not exactly, the point of the test is to check that the output is as expected, i.e. running your test with llc should fail right now, and pass with your patch applied.<div class="">Look at the existing tests and how they make use of lines like</div><div class=""><br class=""></div><div class=""><div class="">; CHECK-LABEL</div></div><div class=""><div class="">; CHECK:</div></div><div class="">…</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Also, try -O2 when you generate your IR, it should be simpler. The test case should be “minimal”.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Mehdi</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 24, 2015, at 12:38 PM, Chris Sears <<a href="mailto:chris.sears@gmail.com" class="">chris.sears@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is this right? I just prepended this to the -<span style="font-size:12.8000001907349px" class="">emit-llvm output</span>:<div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class="">; RUN: llc < %s -march=x86 | FileCheck %s</div></blockquote>​</div>
<span id="cid:D83CE5E7-160A-4407-8645-58C42657606D"><tst64.ll></span></div></blockquote></div><br class=""></div></body></html>