about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-08-30 17:56:04 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-08-30 17:56:04 -0700
commit8d12673c825c2785e375e12295a7bdc24a625114 (patch)
tree88c7fe74000f22f71d466c805080cf4ccebaa963 /src/rustllvm/RustWrapper.cpp
parent974f854bb528c9a94af62990965ac62a1aa0dbed (diff)
downloadrust-8d12673c825c2785e375e12295a7bdc24a625114.tar.gz
rust-8d12673c825c2785e375e12295a7bdc24a625114.zip
Tweak pass management and add some more options
The only changes to the default passes is that O1 now doesn't run the inline
pass, just always-inline with lifetime intrinsics. O2 also now has a threshold
of 225 instead of 275. Otherwise the default passes being run is the same.

I've also added a few more options for configuring the pass pipeline. Namely you
can now specify arguments to LLVM directly via the `--llvm-args` command line
option which operates similarly to `--passes`. I also added the ability to turn
off pre-population of the pass manager in case you want to run *only* your own
passes.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions