<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    This looks good to me, though sign-off from a maintainer of tablegen
    may be necessary.<br>
    <br>
    This should be set for all barrier instructions in
    IntrinsicsNVVM.td.<br>
    <br>
    <div class="moz-cite-prefix">On 03/17/2014 05:09 PM, Eli Bendersky
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACLQwhEV-GkbLuk8+GAFqoRBYuHJcwKqPuq0g2gA5B_J8pnMJw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>The "noduplicate" function attribute exists to prevent
          certain optimizations from duplicating calls to the function.
          This is important on platforms where certain function call
          duplications are unsafe (for example execution barriers for
          CUDA and OpenCL).</div>
        <div><br>
        </div>
        <div>This patch make it possible to specify intrinsics as
          "noduplicate" and translates that to the appropriate function
          attribute. It also uses it for the int_cuda_syncthreads
          intrinsics. Tests are also added.</div>
        <div><br>
        </div>
        <div>Justin: for now I just added it for the intrinsic directly
          visible from CUDA source. Should this attribute be added to
          all int_nvvm_barrier0* intrinsics as well?</div>
        <div><br>
        </div>
        <div>PTAL</div>
        <div>
          <br>
        </div>
        <div>Eli</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
  
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may 
contain confidential information.  Any unauthorized review, use, disclosure 
or distribution is prohibited.  If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message. </DIV>
<DIV>
<HR>
</DIV>
</body>
</html>