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

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 29 12:51:52 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
----------------
andykaylor wrote:

Actually, considering the comment on line 5, these should probably be removed from this test.

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


More information about the cfe-commits mailing list