================
@@ -375,6 +375,21 @@ entry:
   ret void
 }
 
+define void @test_sincos(float %flt, double %dbl, ptr %psflt, ptr %pcflt,
+; CHECK-LABEL: define void @test_sincos(
+; CHECK-SAME: float [[FLT:%.*]], double [[DBL:%.*]], ptr [[PSFLT:%.*]], ptr 
[[PCFLT:%.*]], ptr [[PSDBL:%.*]], ptr [[PCDBL:%.*]]) {
+; CHECK-NEXT:  [[ENTRY:.*:]]
+; CHECK-NEXT:    [[TMP0:%.*]] = call { float, float } 
@__hipstdpar_sincos_f32(float [[FLT]])
+; CHECK-NEXT:    [[TMP1:%.*]] = call { double, double } 
@__hipstdpar_sincos_f64(double [[DBL]])
----------------
MrSidims wrote:

Will there be an appropriate PR to 
https://github.com/ROCm/rocm-libraries/blob/develop/projects/rocthrust/thrust/system/hip/hipstdpar/impl/math_lib.hpp
 with `sincos` definition? (sorry, away from a laptop suitable to check its 
existence myself).

https://github.com/llvm/llvm-project/pull/224620
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to