[LLVMdev] Specifying a sequence of optimization flags on llvm-gcc
devang.patel at gmail.com
Tue Apr 13 10:48:44 PDT 2010
On Tue, Apr 13, 2010 at 10:09 AM, Felipe Sodré Silva <fsodre at gmail.com> wrote:
> On Mon, Apr 12, 2010 at 12:39 AM, Duncan Sands <baldrick at free.fr> wrote:
>> try something like this:
>> llvm-gcc -c -emit-llvm -o - | opt ...list.transforms.here... > result.bc
> Another question about it: is this transforms list applied in the same order
> it's given to the command line?
hmm.. yes. Use -debug-pass=... on the opt command line to see what is
being executed. 'opt --help-hidden' lists -debug-pass and other hidden
command line options.
> Can I repeat a transformation pass within a
More information about the llvm-dev