[PATCH] Enable FastISel on ARM for Linux and NaCl, not MCJIT

JF Bastien jfb at google.com
Thu Jun 13 11:01:10 PDT 2013


> Our buildbots run on -O3, would be good to know if they also pass on
>> higher optimization levels.
>>
>
> Which settings do you suggest? I ran:
>   ~/llvm/sandbox/bin/lnt runtest nt --sandbox SANDBOX --cc
> /home/user/llvm/install/bin/armv7-unknown-linux-gnueabihf-clang --cxx
> /home/user/llvm/install/bin/armv7-unknown-linux-gnueabihf-clang++
> --llvm-src ../llvm --llvm-obj ./ --test-suite ../test-suite -j2
> --optimize-option=-O0
>

Talked to Eric offline, I just kicked off a run with:
 --optimize-option=-O3 --mllvm -fast-isel=true

PNaCl effectively does something similar: architecture-independent
optimizations are run on source-code -> pexe creation, and the pexe -> nexe
translation can run at either O0 (so, FastISel) or O2. We test this quite a
bit, and measure performance tradeoffs (and obviously, we'll submit patches
to improve the situation).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130613/dace8783/attachment.html>


More information about the llvm-commits mailing list