<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">>I think that the first step would
      be to expose Target Lowering Interface (TLI) to OPT's IR-level
      passes.
      <br>
      <br>
      By "lowering", we assume the bitcode is more abstract than the
      machine code. However, in some situations, it is just opposite.
      For instance, some architectures support vectorization of
      min/max/saturated-{add,sub)<i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>conditional-assignment/etc<span
          class="moz-txt-tag">/</span></i>../etc. We need to detect such
      machine dependent patterns, and <b class="moz-txt-star"><span
          class="moz-txt-tag">*</span>PROMOTE<span class="moz-txt-tag">*</span></b>
      the bitcode into right forms before we are able to vectorize them.
      How to deal with this situation?
      <br>
      <br>
      Shuxin
      <br>
      <br>
    </div>
  </body>
</html>