<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 5/4/16 8:25 PM, Carlos Liam via
      llvm-dev wrote:<br>
    </div>
    <blockquote
      cite="mid:0BD977EC-783A-4CE5-847A-03D6790649CA@aarzee.me"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=us-ascii">
      I have IR at <a moz-do-not-send="true"
        href="https://ghostbin.com/paste/daxv5" class="">https://ghostbin.com/paste/daxv5</a> which
      is meant to exit 1, but it is always exiting 0.
      <div class=""><br class="">
      </div>
    </blockquote>
    <br>
    1) It would help if you pasted the relevant code into your message. 
    Paranoid people like me don't following links in emails.<br>
    <br>
    2) Have you ensured that your program doesn't exercise undefined
    behavior?  If your program has a signed overflow, an out-of-bounds
    error, or some other undefined behavior, the compiler may optimize
    it in surprising and unexpected way.<br>
    <br>
    Regards,<br>
    <br>
    John Criswell<br>
    <br>
    <blockquote
      cite="mid:0BD977EC-783A-4CE5-847A-03D6790649CA@aarzee.me"
      type="cite">
      <div class="">I'm using it as a template for checking if two
        functions @test1 and @test2 are equivalent by checking against
        the exhaustive possible i16 values. For this particular example
        it should be enough to know that for certain i16, @test1 and
        @test2 are *not* equal. When an inequality is found, the program
        should exit 1. However, it seems like it's always exiting 0. Is
        there something I'm doing wrong?<br class="">
        <div class="">
          <br class="Apple-interchange-newline">
          <span class=""> - CL</span>
        </div>
        <br class="">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
  </body>
</html>