[clang] [llvm] [HIPSTDPAR] Add `sincos` support (PR #224620)
Alex Voicu via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 04:20:26 PDT 2026
================
@@ -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]])
----------------
AlexVlx wrote:
Apologies, should have linked it: <https://github.com/ROCm/rocm-libraries/pull/12296>
https://github.com/llvm/llvm-project/pull/224620
More information about the llvm-commits
mailing list