[clang] [CIR] Add math and builtin intrinsics support (PR #175233)

Hendrik Hübner via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 18 04:16:41 PST 2026


================
@@ -27,29 +34,38 @@ void testMemset(void *dst, int val, unsigned long size) {
 double fabs(double);
 double testFabs(double x) {
   return fabs(x);
-  // CHECK: cir.call @fabs
+  // CHECK: cir.fabs %{{.+}} : !cir.double
----------------
HendrikHuebner wrote:

Can you add the other checks here as well? 

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


More information about the cfe-commits mailing list