<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 6/20/11 10:39 AM, Justin Holewinski wrote:
    <blockquote
      cite="mid:0DE54E83-F97E-468C-AECA-5FA7C8A66D10@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>For the PTX back-end, I would like to introduce a
        configure-time option to determine the number of architectural
        registers available to LLVM register allocation during code
        generation.  The motivation for this is PTX is a virtual
        instruction set and the number of registers is configurable in
        the output file.  Thus, the number of registers specified via
        tablegen is arbitrary.  For different use-cases, it may be
        desirable to change this number.</div>
    </blockquote>
    <br>
    Is it possible to make this option a command-line option to llc
    instead of a configure-time option?<br>
    <br>
    In my experience, it's better to make these options command-line
    options to tools when possible; that way, when someone wants to
    experiment with changing the parameter, they do not need to
    recompile.<br>
    <br>
    -- John T.<br>
    <br>
  </body>
</html>