[clang] [CIR]Implement lowering for simple sin/cos/tan/exp10 builtins. (PR #211614)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 07:33:00 PDT 2026


================
@@ -1511,6 +1511,166 @@ long double my_tanl(long double f) {
   // OGCG: call x86_fp80 @llvm.tan.f80(
 }
 
+// cosh
----------------
erichkeane wrote:

Alright, done!  I added to the builtins-elementwise.c and here.  I did NOT pull in math-builtins.c.  It has a lot more configurations that we dont compile yet, and has a ton of builtins we don't do anything with yet.  We should probably do so eventually, but I am pretty convinced we're not there yet.

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


More information about the cfe-commits mailing list