Skip to content

Commit b93590e

Browse files
committed
correct macro names
1 parent 0fa158b commit b93590e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_codegen_llvm/src/intrinsic.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
16281628
out_elem
16291629
);
16301630
}
1631-
macro_rules! arith_bin {
1631+
macro_rules! arith_binary {
16321632
($($name: ident: $($($p: ident),* => $call: ident),*;)*) => {
16331633
$(if name == sym::$name {
16341634
match in_elem.kind() {
@@ -1644,7 +1644,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
16441644
})*
16451645
}
16461646
}
1647-
arith_bin! {
1647+
arith_binary! {
16481648
simd_add: Uint, Int => add, Float => fadd;
16491649
simd_sub: Uint, Int => sub, Float => fsub;
16501650
simd_mul: Uint, Int => mul, Float => fmul;
@@ -1659,7 +1659,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
16591659
simd_fmin: Float => minnum;
16601660

16611661
}
1662-
macro_rules! arith_un {
1662+
macro_rules! arith_unary {
16631663
($($name: ident: $($($p: ident),* => $call: ident),*;)*) => {
16641664
$(if name == sym::$name {
16651665
match in_elem.kind() {
@@ -1675,7 +1675,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
16751675
})*
16761676
}
16771677
}
1678-
arith_un! {
1678+
arith_unary! {
16791679
simd_neg: Int => neg, Float => fneg;
16801680
}
16811681

0 commit comments

Comments
 (0)