[llvm] [AMDGPU] Correctly restore FP mode in FDIV32 lowering (PR #66346)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 14 02:20:15 PDT 2023
================
@@ -9640,21 +9656,24 @@ SDValue SITargetLowering::LowerFDIV32(SDValue Op, SelectionDAG &DAG) const {
SDValue Fma4 = getFPTernOp(DAG, ISD::FMA, SL, MVT::f32, NegDivScale0, Fma3,
NumeratorScaled, Fma3, Flags);
- if (!HasFP32Denormals) {
+ if (!PreservesDenormals) {
// FIXME: This mishandles dynamic denormal mode. We need to query the
----------------
arsenm wrote:
Need to remove the fixmes
https://github.com/llvm/llvm-project/pull/66346
More information about the llvm-commits
mailing list