rust/src/librustc_trans
bors 1ca1de6b26 Auto merge of #36124 - eddyb:fast-array-init, r=alexcrichton
Fix optimization regressions for operations on [x; n]-initialized arrays.

Fixes #35662 by using `!=` instead of `<` as the stop condition for `[x; n]` initialization loops.
Also included is cc2009f02d, a hack to run the GVN pass twice, another time after InstCombine.
This hack results in removal of redundant `memset` and `memcpy` calls (from loops over arrays).

cc @nrc Can we get performance numbers on this? Not sure if it regresses anything else.
2016-09-03 17:41:08 -07:00
..
back rustc: Implement custom derive (macros 1.1) 2016-09-02 12:52:56 -07:00
debuginfo Fix rebase, fix some tests 2016-09-03 13:39:35 +03:00
mir Fix buggy field access translation 2016-09-03 13:39:34 +03:00
abi.rs Auto merge of #36024 - japaric:mips64, r=alexcrichton 2016-09-02 03:01:48 -07:00
adt.rs Fix rebase, fix some tests 2016-09-03 13:39:35 +03:00
asm.rs rustc_trans: remove the bulk of old trans and most of its support code. 2016-08-24 13:23:37 +03:00
assert_module_sources.rs Refactor away AttrMetaMethods. 2016-08-25 20:41:40 +00:00
attributes.rs finish type-auditing rustllvm 2016-08-03 15:08:47 +03:00
base.rs give apply_param_substs a SharedCrateContext 2016-08-31 17:05:53 -04:00
basic_block.rs Delete obviously-unreachable blocks 2016-03-30 13:00:02 +13:00
build.rs split the FFI part of rustc_llvm to rustc_llvm::ffi 2016-08-03 15:08:47 +03:00
builder.rs finish type-auditing rustllvm 2016-08-03 15:08:47 +03:00
cabi_aarch64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_arm.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_asmjs.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
cabi_mips.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_mips64.rs cabi: change some more 32s to 64s 2016-08-28 21:35:54 -05:00
cabi_powerpc.rs add mips64-gnu and mips64el-gnu targets 2016-08-26 17:17:03 -05:00
cabi_powerpc64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86_64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
cabi_x86_win64.rs Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
callee.rs give apply_param_substs a SharedCrateContext 2016-08-31 17:05:53 -04:00
Cargo.toml Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
cleanup.rs rustc_trans: remove the bulk of old trans and most of its support code. 2016-08-24 13:23:37 +03:00
closure.rs rustc_trans: remove the bulk of old trans and most of its support code. 2016-08-24 13:23:37 +03:00
collector.rs Some better support for unions through the compiler 2016-09-03 13:39:34 +03:00
common.rs Some better support for unions through the compiler 2016-09-03 13:39:34 +03:00
consts.rs Refactor away AttrMetaMethods. 2016-08-25 20:41:40 +00:00
context.rs remove normalize_infer_ctxt constructor 2016-08-31 22:06:01 -04:00
declare.rs Rename empty/bang to never 2016-08-13 21:37:09 +08:00
diagnostics.rs Small error code explanations improvements 2016-08-26 17:28:47 +02:00
disr.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
glue.rs Address comments and add requested tests 2016-09-03 13:39:35 +03:00
intrinsic.rs rustc: use accessors for Substs::{types,regions}. 2016-08-27 00:25:04 +03:00
lib.rs add mips64-gnu and mips64el-gnu targets 2016-08-26 17:17:03 -05:00
machine.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
macros.rs rustc_trans: move the contents of the trans module to top-level. 2016-03-27 01:23:28 +02:00
meth.rs remove normalize_infer_ctxt constructor 2016-08-31 22:06:01 -04:00
monomorphize.rs cache projections in trans 2016-08-31 17:47:33 -04:00
partitioning.rs give apply_param_substs a SharedCrateContext 2016-08-31 17:05:53 -04:00
README.txt Make librustc's markdown README.txt claim to be markdown. 2015-03-20 13:29:13 +01:00
symbol_map.rs collector-driven-trans: Take care of nits. 2016-07-08 10:42:47 -04:00
symbol_names_test.rs Refactor away AttrMetaMethods. 2016-08-25 20:41:40 +00:00
trans_item.rs Add union types 2016-09-03 13:37:25 +03:00
tvec.rs Fix optimization regressions for operations on [x; n]-initialized arrays. 2016-09-01 00:27:03 +03:00
type_.rs finish type-auditing rustllvm 2016-08-03 15:08:47 +03:00
type_of.rs Some better support for unions through the compiler 2016-09-03 13:39:34 +03:00
value.rs begin auditing the C++ types in RustWrapper 2016-08-03 15:08:47 +03:00

See the README.md in ../librustc.