<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/73320>73320</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
The code described in the MLIR doc no longer works
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
monowaranjum
</td>
</tr>
</table>
<pre>
Here is the link for the MLIR doc code: https://github.com/joker-eph/llvm-project-with-mlir/blob/master/mlir/g3doc/WritingAPass.md#operationpass--op-specific
The line ``` static PassRegistration<MyFunctionPass> pass(
"flag-name-to-invoke-pass-via-mlir-opt", "Pass description here"); ``` gives compilation error now.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk-L2zwQxj_N-CIc5FHyJj74kN19TQtdKEuhZ1ka20pkjZHkhP32xc6W_jkUjOHRSI9-o3l0Sm4IRA0cnuDwUugljxybiQPfddThskxFx_a9-USRhEsijyS8C1fRc9zE65fPb8KyEYYtgTqLMec5gToDtoDt4PK4dDvDE2B74SvFkuYRsPX-NpVz5AuZXN5dHsvJuwjYdp47wHbSKdOqP5YHZdkAtt-jyy4M5686pd1kARXPFHV2HGadUlnyXKaZjOudAfkC8vz4f3uAk4D_5OMTKevsjFid3mhwKT9sQD2_vrdLMKtYi6D-F6s34OnhJQCx93oog56ozFy6cOMrlRvAzemtlZLnDIiAz-v21UdYSia6efUVI0XayjWoJ_Eb1eBulIThaXZ-4xEUI0cR-L4ThW2UrVWtC2qqo5QnPB5rLMam7ggrS1IelKHuqDVJsr2h-kQ1VcYWrkGJqqpwX6GsD7iTp06bvqo6u5d9bRXsJU3a-d06mR3HoXApLdQclUJZeN2RTz9jEpttfN0yJNhL71JOv45llz0163uvkfhouiMrXPgzMYGF5zBQFHeO11Qs0Tf_SM96wV_BAWw3yATYbpw_AgAA__9Spet-">