Auto merge of #125016 - nicholasbishop:bishop-cb-112, r=tgross35
Update compiler_builtins to 0.1.114 The `weak-intrinsics` feature was removed from compiler_builtins in https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the `compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot. In https://github.com/rust-lang/compiler-builtins/pull/593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a `compiler-builtins-no-f16-f128` feature and disable it for cranelift and gcc.
This commit is contained in:
commit
80d8270d84
8 changed files with 23 additions and 9 deletions
|
@ -119,8 +119,10 @@ impl LlvmType for Reg {
|
|||
match self.kind {
|
||||
RegKind::Integer => cx.type_ix(self.size.bits()),
|
||||
RegKind::Float => match self.size.bits() {
|
||||
16 => cx.type_f16(),
|
||||
32 => cx.type_f32(),
|
||||
64 => cx.type_f64(),
|
||||
128 => cx.type_f128(),
|
||||
_ => bug!("unsupported float: {:?}", self),
|
||||
},
|
||||
RegKind::Vector => cx.type_vector(cx.type_i8(), self.size.bytes()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue