Use the fallback body for {minimum,maximum}f128 on LLVM as well.
This commit is contained in:
@@ -1012,7 +1012,10 @@ impl<'ll> CodegenCx<'ll, '_> {
|
||||
ifn!("llvm.minimum.f16", fn(t_f16, t_f16) -> t_f16);
|
||||
ifn!("llvm.minimum.f32", fn(t_f32, t_f32) -> t_f32);
|
||||
ifn!("llvm.minimum.f64", fn(t_f64, t_f64) -> t_f64);
|
||||
ifn!("llvm.minimum.f128", fn(t_f128, t_f128) -> t_f128);
|
||||
// There are issues on x86_64 and aarch64 with the f128 variant.
|
||||
// - https://github.com/llvm/llvm-project/issues/139380
|
||||
// - https://github.com/llvm/llvm-project/issues/139381
|
||||
// ifn!("llvm.minimum.f128", fn(t_f128, t_f128) -> t_f128);
|
||||
|
||||
ifn!("llvm.maxnum.f16", fn(t_f16, t_f16) -> t_f16);
|
||||
ifn!("llvm.maxnum.f32", fn(t_f32, t_f32) -> t_f32);
|
||||
@@ -1022,7 +1025,10 @@ impl<'ll> CodegenCx<'ll, '_> {
|
||||
ifn!("llvm.maximum.f16", fn(t_f16, t_f16) -> t_f16);
|
||||
ifn!("llvm.maximum.f32", fn(t_f32, t_f32) -> t_f32);
|
||||
ifn!("llvm.maximum.f64", fn(t_f64, t_f64) -> t_f64);
|
||||
ifn!("llvm.maximum.f128", fn(t_f128, t_f128) -> t_f128);
|
||||
// There are issues on x86_64 and aarch64 with the f128 variant.
|
||||
// - https://github.com/llvm/llvm-project/issues/139380
|
||||
// - https://github.com/llvm/llvm-project/issues/139381
|
||||
// ifn!("llvm.maximum.f128", fn(t_f128, t_f128) -> t_f128);
|
||||
|
||||
ifn!("llvm.floor.f16", fn(t_f16) -> t_f16);
|
||||
ifn!("llvm.floor.f32", fn(t_f32) -> t_f32);
|
||||
|
||||
Reference in New Issue
Block a user