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

    <tr>
        <th>Summary</th>
        <td>
            The `opt -passname` syntax for the new pass manager is not supported 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          LukeLIN-web
      </td>
    </tr>
</table>

<pre>
    

https://llvm.org/docs/WritingAnLLVMPass.html 

->  [Running a pass with opt](https://llvm.org/docs/WritingAnLLVMPass.html#id9)  

I run 
```
opt -load lib/LLVMHello.so -hello -time-passes < hello.bc > /dev/null
```

But it shows 

```
The `opt -passname` syntax for the new pass manager is not supported, please use `opt -passes=<pipeline>` (or the `-p` alias for a more concise version).
See https://llvm.org/docs/NewPassManager.html#invoking-opt for more details on the pass pipeline syntax.
``` 

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysk09vpDgQxT9NcSmBjGn-HTgk6bQ2Uida7a52zwYq4I2xEWW6N99-ZbozMx2NNNJoJGSgwO_9qp6smPVgiRrI7yHfR2r1o1ua4_pGx6eX-Ext1Lr-vQGxB3F3WUfvZ4bsDuQB5MGY05S4ZQB56F3HIA__LNprO9zZ4_Hv598VczL6yeC3EjFkj4iQ3_-xWqvtgApnxYxn7Ud0s4d8D7L6OSOQme5rkDXeWD7hstqPSiGu1_bqZo-xcapHo1uQhyD3GxnjEnYYj-EJY68nigMkMUL2gFs5aTsMrQQmOoE82NWY73pc1vvVo_bIozvzDd2nv_8aCaEQG1jwtGoiKATyu_XqP3x1C_qR0NL5MrdJWTXQgprROo-8zrNbPPUgH3A2pJhw5VtJYsj2kD3MeiajLUH2GBxAVldxKEQ8h5IyWvHmqXByC2HnbKeZ8EQLa2dB1skF-08i_FFoL3QOUT1fiL8kZk_uTdshDnzBajPqySttGJ3diLZWP3ivs0g-ze861ahvsr7OahVRk5Yir_K0rvJobLLXVu2KtNxVVIpWFqrM27IUlUqppK6QkW6kkDuRyjTNd4XMk-w1q3uqRVWlXdaVNewETUqb5KO3SDOv1JRVLWRkVEuGt-MkZchn-whShtO1NGFP3K4Dw04YzZ6_qnjtDTW_KnmM1sU0t2EM2o9rm3RuuiZzvcXz4v6lzoM8bLQhpq2b_wMAAP__QJlHTA">