Issue 78902
Summary The `opt -passname` syntax for the new pass manager is not supported
Labels new issue
Assignees
Reporter LukeLIN-web
    

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.
``` 

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to