[PATCH] D29958: AMDGPU : Replace FMAD with FMA when denormals are enabled.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 14:53:51 PST 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.h:269
   DIV_FIXUP,
+  FMAD_FTZ,
   TRIG_PREOP, // 1 ULP max error for f64
----------------
arsenm wrote:
> Needs a comment explaining what it is for
This is the opposite. It is for emitting mad when f32 denormals are enabled because mac/mad always flush


Repository:
  rL LLVM

https://reviews.llvm.org/D29958





More information about the llvm-commits mailing list