[clang] [llvm] [clang] Add tanf16 builtin and support for tan constrained intrinsic (PR #93314)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 10:29:40 PDT 2024
================
@@ -183,6 +183,14 @@ void foo(double *d, float f, float *fp, long double *l, int *i, const char *c, _
// CHECK: call x86_fp80 @llvm.experimental.constrained.sqrt.f80(x86_fp80 %{{.*}}, metadata !"round.tonearest", metadata !"fpexcept.strict")
// CHECK: call fp128 @llvm.experimental.constrained.sqrt.f128(fp128 %{{.*}}, metadata !"round.tonearest", metadata !"fpexcept.strict")
+__builtin_tan(f); __builtin_tanf(f); __builtin_tanl(f); __builtin_tanf128(f);
----------------
farzonl wrote:
my mistake looks like im missing a tab.
https://github.com/llvm/llvm-project/pull/93314
More information about the llvm-commits
mailing list