[clang] [CIR] Added fast-math flags to LLVM intrinsic calls (PR #224899)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 21 17:04:42 PDT 2026


================
@@ -830,6 +830,15 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
                                             std::forward<Operands>(op)...)
         .getResult();
   }
+
+  mlir::Value emitIntrinsicCallOp(mlir::Location loc, const llvm::StringRef str,
+                                  const mlir::Type &resTy,
+                                  mlir::ValueRange operands,
----------------
andykaylor wrote:

Is having an explicit ValueRange here vs. the `Operands &&...op` form used in the function above going to cause us problems? Maybe the fast-math attribute should be moved ahead of the operands.

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


More information about the cfe-commits mailing list