[llvm] Adding more vector calls for -fveclib=AMDLIBM (PR #109662)
Rohit Aggarwal via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 03:08:35 PDT 2024
================
@@ -1600,4 +1653,163 @@ for.end:
ret void
}
+define void @exp10_f64(ptr nocapture %varray) {
+; CHECK-LABEL: @exp10_f64(
+; CHECK-VF2: [[TMP5:%.*]] = call <2 x double> @amd_vrd2_exp10(<2 x double> [[TMP4:%.*]])
+; CHECK-VF4-NOT: call <4 x double> @amd_vrd4_exp10(<4 x double> [[TMP4:%.*]])
----------------
rohitaggarwal007 wrote:
there are no such intrinsic present for exp10. I tried but it is not emitting llvm.exp10.v4f64. Instead, it generating @emp10.
![image](https://github.com/user-attachments/assets/9095375e-040a-4b26-b07a-5e174e0b2034)
https://github.com/llvm/llvm-project/pull/109662
More information about the llvm-commits
mailing list