Skip to content

Commit 47373be

Browse files
authored
Merge pull request #410 from vuittont60/master
Fix typos
2 parents fac7c31 + f8e079a commit 47373be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ debug_tree(expr);
181181

182182
(defined in print-tree.h)
183183

184-
To print a debug reprensentation of a gimple struct:
184+
To print a debug representation of a gimple struct:
185185

186186
```c
187187
debug_gimple_stmt(gimple_struct)

src/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol, target_info: Lock
164164
context.add_driver_option("-v");
165165
}
166166

167-
// NOTE: The codegen generates unrechable blocks.
167+
// NOTE: The codegen generates unreachable blocks.
168168
context.set_allow_unreachable_blocks(true);
169169

170170
{

src/intrinsic/llvm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub fn adjust_intrinsic_arguments<'a, 'b, 'gcc, 'tcx>(builder: &Builder<'a, 'gcc
262262
},
263263
// NOTE: the LLVM intrinsic receives 3 floats, but the GCC builtin requires 3 vectors.
264264
// FIXME: the intrinsics like _mm_mask_fmadd_sd should probably directly call the GCC
265-
// instrinsic to avoid this.
265+
// intrinsic to avoid this.
266266
"__builtin_ia32_vfmaddss3_round" => {
267267
let new_args = args.to_vec();
268268
let arg1_type = gcc_func.get_param_type(0);

0 commit comments

Comments
 (0)