I spent quite a while trying to figure out what passes are used by
"-O1" so that I could give this list to bugpoint. It turns out
-debug-pass=Arguments is mentioned in docs/HowToSubmitABug.html but
under a chapter titled "Compile-time optimization bugs" which I
naively ignored since my bug was not a compile-time bug.
How about mentioning this more explicitely in the bugpoint
documentation along the lines of the attached patch?
llvm-doc-bugpoint-debug-arguments1.patch (775 Bytes)