about summary refs log tree commit diff
path: root/src/test/codegen/optimize-attr-1.rs
AgeCommit message (Collapse)AuthorLines
2019-11-11[mir-opt] Turn on the `ConstProp` pass by defaultWesley Wiser-3/+3
perf.rlo shows that running the `ConstProp` pass results in across-the-board wins regardless of debug or opt complilation mode. As a result, we're turning it on to get the compile time benefits. `ConstProp` doesn't currently intern the memory used by its `Machine` so we can't yet propagate allocations which is why `ConstProp::should_const_prop()` checks if the value being propagated is a scalar or not.
2019-10-31rustc_codegen_ssa: move all set_var_name calls to mir::debuginfo.Eduard-Mihai Burtescu-3/+3
2019-01-24Support revisions for codegen testsSimonas Kazlauskas-29/+30
`compile-flags: -Copt-level` will avoid adding -O. Similarly for -g and -Cdebuglevel.
2019-01-24Add an idealistic test for optimize attributeSimonas Kazlauskas-0/+49
Alas it does not currently work, because of limitations in compiletest…