[clang] [llvm] [clang] Reland Add tanf16 builtin and support for tan constrained intrinsic (PR #94559)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 13:28:11 PDT 2024


================
@@ -2923,6 +2923,18 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
       SetSqrtFPAccuracy(Call);
       return RValue::get(Call);
     }
+
+    case Builtin::BItan:
----------------
farzonl wrote:

def TanF16F128 : Builtin, F16F128MathTemplate = BI_builtin_tanf
vs 
def Tan : FPMathTemplate, LibBuiltin<"math.h">  = BItanf

https://github.com/llvm/llvm-project/pull/94559


More information about the cfe-commits mailing list