Skip to content

Commit

Permalink
Merge pull request rust-lang#410 from vuittont60/master
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
antoyo committed Jan 9, 2024
2 parents fac7c31 + f8e079a commit 47373be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ debug_tree(expr);

(defined in print-tree.h)

To print a debug reprensentation of a gimple struct:
To print a debug representation of a gimple struct:

```c
debug_gimple_stmt(gimple_struct)
Expand Down
2 changes: 1 addition & 1 deletion src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol, target_info: Lock
context.add_driver_option("-v");
}

// NOTE: The codegen generates unrechable blocks.
// NOTE: The codegen generates unreachable blocks.
context.set_allow_unreachable_blocks(true);

{
Expand Down
2 changes: 1 addition & 1 deletion src/intrinsic/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ pub fn adjust_intrinsic_arguments<'a, 'b, 'gcc, 'tcx>(builder: &Builder<'a, 'gcc
},
// NOTE: the LLVM intrinsic receives 3 floats, but the GCC builtin requires 3 vectors.
// FIXME: the intrinsics like _mm_mask_fmadd_sd should probably directly call the GCC
// instrinsic to avoid this.
// intrinsic to avoid this.
"__builtin_ia32_vfmaddss3_round" => {
let new_args = args.to_vec();
let arg1_type = gcc_func.get_param_type(0);
Expand Down

0 comments on commit 47373be

Please sign in to comment.