<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54069>54069</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Bitfield pass options
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            enhancement,
            mlir:core,
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          GMNGeoffrey
      </td>
    </tr>
</table>

<pre>
    Right now the Pass tablegen specification allows Option and ListOption (corresponding to `llvm::cl::list`). I would like to have a bitfield (`llvm::cl::bits`) but it doesn't appear that is possible.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUduO3CAM_RryYjXKEJLMPPDQbdVVpd7UP4DESWgJIEx2tH9fJ9OqUlVhyRwbH_sYG6dX_d0ta4EQ71BWhG-GCIqxHhcMQAlHN7vRFBcDGO_jneBreqAwwSdH5TcU8jrGnJFSDJMLC5QIom-8f9lE-5Zt9A_vuYYTQt5q-Aj3uPsJvPuJR8FqXhAMWFdmhxxn0v9y8AN6cIDdC7gCU0QKQg4FTEpoMosxnCBIkcixnLqadDvd2pupiise9dOfJumQHE8VVO3Z67WUREcj-YFtcWXdbT3GjcE5ysO9STn-wLEwdEQ7El861fS3atVK9urayGHqG2PGq7mqVtkLqrGRPZ-h8saiJy26JyElhtWEETcMTCaFfMe65eZdPhTHjP8EGXXvK6dlIw9Tsu0aXqbtVTtcbHcZ5slIpYRqcDPO18ewdcxLlfU5t90X4uTxD_Q3yUtwS0A8Z2J-s5c1Zv38-cszxnnO-FqdMvWp8RcP0rch">