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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 13:43:38 PST 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInstructions.td:511
+
+def : FMACPat<V_MAC_F32_e64, AMDGPUfmad_ftz>;
+
----------------
For now you might want to just stick emitting v_mad_f32 to not deviate from the denormal disabled output. Selecting v_mac_ with src0/src1 modifiers should be a separate patch


Repository:
  rL LLVM

https://reviews.llvm.org/D29958





More information about the llvm-commits mailing list