about summary refs log tree commit diff
path: root/src/test/codegen/refs.rs
AgeCommit message (Collapse)AuthorLines
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-1/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2017-11-19rustc: unpack scalar pair newtype layout ABIs.Eduard-Mihai Burtescu-1/+1
2017-11-19rustc: encode scalar pairs in layout ABI.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc_trans: go through layouts uniformly for fat pointers and variants.Eduard-Mihai Burtescu-3/+3
2017-11-19rustc_trans: always insert alignment padding, even before the first field.Eduard-Mihai Burtescu-2/+3
2017-11-19rustc_trans: use *[T; 0] for slice data pointers instead of *T.Eduard-Mihai Burtescu-3/+3
2017-11-07Update codegen tests.Michael Woerister-1/+1
2017-10-26Avoid unnecessary copies of arguments that are simple bindingsBjörn Steinbrink-3/+3
Initially MIR differentiated between arguments and locals, which introduced a need to add extra copies assigning the argument to a local, even for simple bindings. This differentiation no longer exists, but we're still creating those copies, bloating the MIR and LLVM IR we emit. Additionally, the current approach means that we create debug info for both the incoming argument (marking it as an argument), and then immediately shadow it a local that goes by the same name. This can be confusing when using e.g. "info args" in gdb, or when e.g. a debugger with a GUI displays the function arguments separately from the local variables, especially when the binding is mutable, because the argument doesn't change, while the local variable does.
2016-09-24librustc_mir: Propagate constants during copy propagation.Patrick Walton-2/+2
This optimization kicks in a lot when bootstrapping the compiler.
2016-09-19librustc: Implement def-use chains and trivial copy propagation on MIR.Patrick Walton-2/+2
This only supports trivial cases in which there is exactly one def and one use.
2016-08-24Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit.Eduard Burtescu-5/+6
2016-03-17Add #[rustc_no_mir] to make tests pass with -Z orbit.Eduard Burtescu-0/+2
2015-10-01Avoid unnecessary temporaries when ref'ing a DST valueBjörn Steinbrink-0/+30
A DST value and a fat pointer to it have the same representation, all we have to do is to adjust the type of the datum holding the pointer.