[all-commits] [llvm/llvm-project] 6df97a: [CIR] Record -ffp-contract=fast as a per-op contra...
David Rivera via All-commits
all-commits at lists.llvm.org
Thu Sep 24 17:56:01 PDT 2026
Branch: refs/heads/users/riverdave/ffastmath-flags
Home: https://github.com/llvm/llvm-project
Commit: 6df97aa3ec547f4b27c4d471597b24c6f953bf99
https://github.com/llvm/llvm-project/commit/6df97aa3ec547f4b27c4d471597b24c6f953bf99
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