| Issue |
185003
|
| Summary |
Why does opt produce "unknown module pass 'xxx'" in case of default<O3>?
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
pmor13
|
If I run:
```
opt -S --load-pass-plugin=yyy.so -passes="xxx" < foo.ll
```
then opt produces:
```
<nothing>
```
which is expected (pass 'xxx' is found and executed).
If I run:
```
opt -S --load-pass-plugin=yyy.so -passes="xxx" -O3 < foo.ll
```
then opt produces:
```
Cannot specify -O# and --passes=/--foo-pass, use -passes='default<O#>,other-pass'
```
If I run:
```
opt -S --load-pass-plugin=yyy.so -passes="default<O3>,xxx" < foo.ll
```
then opt produces:
```
opt: unknown module pass 'xxx'
```
Why? How to execute module pass 'xxx' together with all passes in -O3?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs