From 0000eb8a99d4f3c557fdc71428210fffce6a4e8c Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 14 Jul 2022 22:41:12 +0200 Subject: [PATCH 1/2] update date reference on MIR inliner cc #1379 --- src/profiling.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/profiling.md b/src/profiling.md index 711248f19..e4148e68e 100644 --- a/src/profiling.md +++ b/src/profiling.md @@ -108,5 +108,6 @@ The llvm-lines output is affected by several options. MIR optimizations have little impact. Compared to the default `RUSTFLAGS="-Z mir-opt-level=1"`, level 0 adds 0.3GB and level 2 removes 0.2GB. -As of January 2021, inlining currently only happens in -LLVM but this might change in the future. +As of July 2022, +inlining currently only happens in LLVM, +but this might change in the future. From e8b6efddf928d4d21bf59d04f1b39cce597b3d67 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Fri, 15 Jul 2022 00:44:47 +0200 Subject: [PATCH 2/2] address review comment https://github.com/rust-lang/rustc-dev-guide/pull/1392#discussion_r921560851 --- src/profiling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profiling.md b/src/profiling.md index e4148e68e..ada497d88 100644 --- a/src/profiling.md +++ b/src/profiling.md @@ -109,5 +109,5 @@ The llvm-lines output is affected by several options. MIR optimizations have little impact. Compared to the default `RUSTFLAGS="-Z mir-opt-level=1"`, level 0 adds 0.3GB and level 2 removes 0.2GB. As of July 2022, -inlining currently only happens in LLVM, -but this might change in the future. +inlining happens in LLVM and GCC codegen backends, +missing only in the Cranelift one.