Skip to content

Commit 14f9c97

Browse files
committed
Delete unused macros from rustc_platform_intrinsics.
1 parent 29dcff3 commit 14f9c97

File tree

1 file changed

+0
-40
lines changed
  • src/librustc_platform_intrinsics

1 file changed

+0
-40
lines changed

src/librustc_platform_intrinsics/lib.rs

-40
Original file line numberDiff line numberDiff line change
@@ -52,46 +52,6 @@ fn agg(flatten: bool, types: Vec<Type>) -> Type {
5252
Type::Aggregate(flatten, types)
5353
}
5454

55-
macro_rules! ty {
56-
(f32x8) => (v(f(32), 8));
57-
(f64x4) => (v(f(64), 4));
58-
59-
(i8x32) => (v(i(8), 32));
60-
(i16x16) => (v(i(16), 16));
61-
(i32x8) => (v(i(32), 8));
62-
(i64x4) => (v(i(64), 4));
63-
64-
(f32x4) => (v(f(32), 4));
65-
(f64x2) => (v(f(64), 2));
66-
67-
(i8x16) => (v(i(8), 16));
68-
(i16x8) => (v(i(16), 8));
69-
(i32x4) => (v(i(32), 4));
70-
(i64x2) => (v(i(64), 2));
71-
72-
(f32x2) => (v(f(32), 2));
73-
(i8x8) => (v(i(8), 8));
74-
(i16x4) => (v(i(16), 4));
75-
(i32x2) => (v(i(32), 2));
76-
(i64x1)=> (v(i(64), 1));
77-
78-
(i64) => (i(64));
79-
(i32) => (i(32));
80-
(i16) => (i(16));
81-
(i8) => (i(8));
82-
(f32) => (f(32));
83-
(f64) => (f(64));
84-
}
85-
macro_rules! plain {
86-
($name: expr, ($($inputs: tt),*) -> $output: tt) => {
87-
Intrinsic {
88-
inputs: vec![$(ty!($inputs)),*],
89-
output: ty!($output),
90-
definition: ::IntrinsicDef::Named($name)
91-
}
92-
}
93-
}
94-
9555
mod x86;
9656
mod arm;
9757
mod aarch64;

0 commit comments

Comments
 (0)