[clang] [CIR][X86] Add support for roundpd, roundps, roundsd, roundss builtins (PR #215787)
Borys Perski via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 19 11:10:17 PDT 2026
================
@@ -86,6 +86,26 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder, mlir::Location loc,
return maskVec;
}
+static mlir::Value emitX86RoundImmediate(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value x,
+ unsigned roundingControl) {
+ constexpr unsigned roundingMask = 0b11;
----------------
borysperski wrote:
Thanks, done.
https://github.com/llvm/llvm-project/pull/215787
More information about the cfe-commits
mailing list