Issue 130885
Summary How to get all fine grained optimization options of the LLVM optimizer opt -Ox (O1/O2/Os/O3...)
Labels new issue
Assignees
Reporter cpython-java
    I found an opt-Ox bug, but I don't know which optimization step is causing the bug, in order to figure this out, I need to know all the fine-grained optimization options for opt-Ox, and then verify which optimization step the bug is in by trying to disable some of the fine-grained options.

I tried one way:

opt -Ox -debug -debug-pass=Arguments

However, this command does not work with all versions of opt, for some versions of opt it will report errors, and even for versions that do not report errors, I am not sure whether the output of this command is all optimization options and does not include non-optimization necessary execution options.

Hope a friend can help me!
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to