Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions crates/stdarch-gen-arm/src/intrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl LLVMLink {

/// Alters all the unsigned types from the signature. This is required where
/// a signed and unsigned variant require the same binding to an exposed
/// LLVM instrinsic.
/// LLVM intrinsic.
pub fn sanitise_uints(&mut self) {
let transform = |tk: &mut TypeKind| {
if let Some(BaseType::Sized(BaseTypeKind::UInt, size)) = tk.base_type() {
Expand Down Expand Up @@ -1138,7 +1138,7 @@ impl Intrinsic {
} else {
/* If we do not need to reorder anything then immediately add
* the expressions from the big_endian_expressions and
* concatinate the compose vector */
* concatenate the compose vector */
variant.big_endian_compose.extend(big_endian_expressions);
variant
.big_endian_compose
Expand All @@ -1156,11 +1156,11 @@ impl Intrinsic {

/* If we do not create a shuffle call we do not need modify the
* return value and append to the big endian ast array. A bit confusing
* as in code we are making the final call before caputuring the return
* as in code we are making the final call before capturing the return
* value of the intrinsic that has been called.*/
let ret_val_name = "ret_val".to_string();
if let Some(simd_shuffle_call) = create_shuffle_call(&ret_val_name, return_type) {
/* There is a possibility that the funcion arguments did not
/* There is a possibility that the function arguments did not
* require big endian treatment, thus we need to now add the
* original function body before appending the return value.*/
if variant.big_endian_compose.is_empty() {
Expand Down Expand Up @@ -1694,8 +1694,8 @@ enum Endianness {
NA,
}

/// Based on the endianess will create the appropriate intrinsic, or simply
/// create the desired intrinsic without any endianess
/// Based on the endianness will create the appropriate intrinsic, or simply
/// create the desired intrinsic without any endianness
fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut TokenStream) {
let signature = &intrinsic.signature;
let fn_name = signature.fn_name().to_string();
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e4fdb554ad2c0270473181438e338c42b5b30b0c
e22c616e4e87914135c1db261a03e0437255335e