about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-28 21:01:53 -0700
committerbors <bors@rust-lang.org>2013-05-28 21:01:53 -0700
commite946b4fa3f7d9a551fd8f039a2b15142d132f3fb (patch)
tree210f3adbe9945a3c10c6fe84c996c67aa91363a6 /src/rt/jemalloc/test/aligned_alloc.exp
parente0d6486ed628cdf6e35939e7b0ccd796cbc5b6eb (diff)
parent4ad0b8ac585487b6f29dd6d97bcfb7a1742f1eb1 (diff)
downloadrust-e946b4fa3f7d9a551fd8f039a2b15142d132f3fb.tar.gz
rust-e946b4fa3f7d9a551fd8f039a2b15142d132f3fb.zip
auto merge of #6778 : Aatch/rust/pass-refactor, r=graydon
Refactor the optimization passes to explicitly use the passes. This commit just re-implements the same passes as were already being run.

It also adds an option (behind `-Z`) to run the LLVM lint pass on the unoptimized IR.

This should close #2812. It is also the first step towards #2396

----------------

This is pretty much just an initial "get it out there" PR. With finer control over the optimization passes coming later. I also just blindly copied the passes we were already doing, so there could almost certainly be some more work in paring it down.

The other thing is the addition of the `mergefunctions` pass, which is currently enabled at `--opt-level=3` and does have a small impact on the code size. However the fact that it is at the end of the optimization pipeline is probably not ideal, so some more experimentation is in order.
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions