[all-commits] [llvm/llvm-project] 97d1d1: [CIR] Record -ffp-contract=fast as a per-op contra...
David Rivera via All-commits
all-commits at lists.llvm.org
Thu Sep 24 18:04:36 PDT 2026
Branch: refs/heads/users/riverdave/ffastmath-flags
Home: https://github.com/llvm/llvm-project
Commit: 97d1d14c90250eca873d62411fcf1dad0a943a25
https://github.com/llvm/llvm-project/commit/97d1d14c90250eca873d62411fcf1dad0a943a25
Author: David Rivera <davidriverg at gmail.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
M clang/include/clang/CIR/Dialect/IR/CIREnumAttr.td
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
A clang/test/CIR/CodeGen/fp-contract-fast.c
M clang/test/CIR/CodeGen/fp-math-precision-opts.c
A clang/test/CIR/CodeGenCUDA/fp-contract.cu
A clang/test/CIR/Lowering/fastmath-contract.cir
M clang/utils/TableGen/CIRLoweringEmitter.cpp
Log Message:
-----------
[CIR] Record -ffp-contract=fast as a per-op contract flag
Classic CodeGen stamps contract on floating-point instructions so a later
Standard-fusion backend can still form an FMA. CIR only fused within a
statement via cir.fmuladd, which dropped FFMA on the CUDA device default.
Co-authored-by: Cursor <cursoragent at cursor.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list