about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorSparrowLii <liyuan179@huawei.com>2021-03-19 03:47:13 +0800
committerSparrowLii <liyuan179@huawei.com>2021-03-19 03:47:13 +0800
commitb93590e5d8e0ba1755450b66e85e87ca4a653fa3 (patch)
tree7f66d5ab8a9a09a02b82e36e3ca155f7bca779f8 /compiler/rustc_codegen_llvm/src
parent0fa158b38fc61961bf2946549ded4753c1d1e514 (diff)
downloadrust-b93590e5d8e0ba1755450b66e85e87ca4a653fa3.tar.gz
rust-b93590e5d8e0ba1755450b66e85e87ca4a653fa3.zip
correct macro names
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/intrinsic.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs
index 29edba869f4..af366f93b91 100644
--- a/compiler/rustc_codegen_llvm/src/intrinsic.rs
+++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs
@@ -1628,7 +1628,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
             out_elem
         );
     }
-    macro_rules! arith_bin {
+    macro_rules! arith_binary {
         ($($name: ident: $($($p: ident),* => $call: ident),*;)*) => {
             $(if name == sym::$name {
                 match in_elem.kind() {
@@ -1644,7 +1644,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
             })*
         }
     }
-    arith_bin! {
+    arith_binary! {
         simd_add: Uint, Int => add, Float => fadd;
         simd_sub: Uint, Int => sub, Float => fsub;
         simd_mul: Uint, Int => mul, Float => fmul;
@@ -1659,7 +1659,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
         simd_fmin: Float => minnum;
 
     }
-    macro_rules! arith_un {
+    macro_rules! arith_unary {
         ($($name: ident: $($($p: ident),* => $call: ident),*;)*) => {
             $(if name == sym::$name {
                 match in_elem.kind() {
@@ -1675,7 +1675,7 @@ unsupported {} from `{}` with element `{}` of size `{}` to `{}`"#,
             })*
         }
     }
-    arith_un! {
+    arith_unary! {
         simd_neg: Int => neg, Float => fneg;
     }