diff options
| author | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
|---|---|---|
| committer | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
| commit | ada9fda7c38b1be39b4e8273ee6af150985df064 (patch) | |
| tree | 33b961ea91ffae5597fb7380990546a9d3b196ed /compiler/rustc_codegen_ssa/src | |
| parent | c3774be7411722d3695de2ab1da9a358d0d5c82c (diff) | |
| download | rust-ada9fda7c38b1be39b4e8273ee6af150985df064.tar.gz rust-ada9fda7c38b1be39b4e8273ee6af150985df064.zip | |
chore: remove duplicate words
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/block.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs index b1c22faf1ae..a26359942a6 100644 --- a/compiler/rustc_codegen_ssa/src/mir/block.rs +++ b/compiler/rustc_codegen_ssa/src/mir/block.rs @@ -403,7 +403,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { // // Why only in unoptimized builds? // - In unoptimized builds LLVM uses FastISel which does not support switches, so it - // must fall back to the to the slower SelectionDAG isel. Therefore, using `br` gives + // must fall back to the slower SelectionDAG isel. Therefore, using `br` gives // significant compile time speedups for unoptimized builds. // - In optimized builds the above doesn't hold, and using `br` sometimes results in // worse generated code because LLVM can no longer tell that the value being switched |
