diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-18 16:27:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 16:27:07 +0100 |
| commit | 87b5679ab0bbd6d0af0e3bc866140208240be280 (patch) | |
| tree | 77519ca71d41be9b1698b0f8cce7d03d7dc33819 /compiler/rustc_codegen_ssa/src/mir | |
| parent | 46080796042b60bd74ebe078b0f0b3f20183ae69 (diff) | |
| parent | a7d4258e00543a9a62fcfabbed4f27121f8f48ce (diff) | |
| download | rust-87b5679ab0bbd6d0af0e3bc866140208240be280.tar.gz rust-87b5679ab0bbd6d0af0e3bc866140208240be280.zip | |
Rollup merge of #122567 - erikdesjardins:noname, r=oli-obk
Remove fixme about LLVM basic block naming ~This may be a small perf win.~ Originally, this PR implemented the fixme, but it didn't have any measurable perf improvement. r? ``@ghost``
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/mir')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/block.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs index 9bb2a528265..02e7bb05b77 100644 --- a/compiler/rustc_codegen_ssa/src/mir/block.rs +++ b/compiler/rustc_codegen_ssa/src/mir/block.rs @@ -1688,7 +1688,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { pub fn try_llbb(&mut self, bb: mir::BasicBlock) -> Option<Bx::BasicBlock> { match self.cached_llbbs[bb] { CachedLlbb::None => { - // FIXME(eddyb) only name the block if `fewer_names` is `false`. let llbb = Bx::append_block(self.cx, self.llfn, &format!("{bb:?}")); self.cached_llbbs[bb] = CachedLlbb::Some(llbb); Some(llbb) |
