File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -7545,6 +7545,20 @@ bool Compiler::IsTargetIntrinsic(NamedIntrinsic intrinsicName)
7545
7545
7546
7546
bool Compiler::IsIntrinsicImplementedByUserCall(NamedIntrinsic intrinsicName)
7547
7547
{
7548
+ #if defined(TARGET_WASM)
7549
+ // TODO-LLVM: Revisit when SIMD is enabled.
7550
+ // We want the fallback LIR expansions for these.
7551
+ switch(intrinsicName)
7552
+ {
7553
+ case NI_System_Math_MultiplyAddEstimate:
7554
+ case NI_System_Math_ReciprocalEstimate:
7555
+ case NI_System_Math_ReciprocalSqrtEstimate:
7556
+ return false;
7557
+ default:
7558
+ break;
7559
+ }
7560
+ #endif //TARGET_WASM
7561
+
7548
7562
// Currently, if a math intrinsic is not implemented by target-specific
7549
7563
// instructions, it will be implemented by a System.Math call. In the
7550
7564
// future, if we turn to implementing some of them with helper calls,
You can’t perform that action at this time.
0 commit comments