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

    <tr>
        <th>Summary</th>
        <td>
            Proposal to move the `-test-transform-dialect-erase-schedule` pass into the Transform dialect itself.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    After running `-transform-interpreter`, a useful pass to have is removing all the transform dialect operations from an mlir. Currently there is only a test pass that does this: https://github.com/llvm/llvm-project/blob/0891ccc0c68c35e17562c752955788f08054bcdb/mlir/test/lib/Dialect/Transform/TestTransformDialectInterpreter.cpp#L31

It would be really nice to have this pass in the Transform dialect properly, say alongside the `-transform-interpreter` here https://github.com/llvm/llvm-project/blob/0891ccc0c68c35e17562c752955788f08054bcdb/mlir/include/mlir/Dialect/Transform/Transforms/Passes.td

I imagine this would be a very useful quality-of-life update. 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8k89upDgQxp_GXEqNjPnbBw7ZREiR9pBDXsCYArwyNmuXe8Xbr9zp7mQ0ykhzmQsUVrnw9_s-yxD0YhF7Vv_F6pdMRlqd73cZDa94mY1uOvqnmdCDj9ZquwBr-Im8tGF2fjtpS-h3j4SeNZyJZ5AQA87RwC5DAHKwyguCDuBxc5c0QRoDtCI8psCkpUFF4Hb0krSzAWbvNpAWNqN9Ds_Re7RkjrTRX8c5aw6QQBjo9qtVEkwOU6UDK59gJdpTwcTAxLBoWuOYK7cxMRhzub9Ou3f_oCImhtG4kYmBd-dCKcVV06myxqKtG6HaWpzruu26mXe8rkY1pdZ0PCaGdIo0Tqe1lw81TAzvd4WpxkCP71vL6ye9XO07E-XfZcH4C-NPH89Xgv9cNBOMCB6lMQdYrfCBNSn9UK_tlen7T0x3n6iaI3kT5AHSOLsEPeG1_1duwhX1n4OorTJxws-Fb0De68DE8CZDwJDT9AM10JtctL3xeRCUcEF_3PP5b5RG03Fy88noGSHukyTMIZv6cjqXZ5lhX7Si6KqWFzxb-1KprmtL1TWjqtqxKGXZzl0rUGBTFaPKdC-4qHgrqqKrecHzppjUGeuRY9moopGs4rhJbfKELHd-yXQIEfuC86o6Z0aOaML9Lvr-CnaMS2AVNzpQ-NxHmgz2b97tLkiT8rC5yxdLMdAXX29ZOKGXAU9BrThFg8niW3bIfZMeTQHNnGfRm_63k3AVl1y66bv04v8AAAD__xDge-0">