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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 10:38:41 PST 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.h:269
   DIV_FIXUP,
+  // For emitting mad when f32 denormals are enabled as mac/mad is treated as
+  // an illegal type
----------------
should refer to it as ISD::FMAD here


================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.h:270
+  // For emitting mad when f32 denormals are enabled as mac/mad is treated as
+  // an illegal type
+  FMAD_FTZ,
----------------
It's an illegal operation, not an illegal type


Repository:
  rL LLVM

https://reviews.llvm.org/D29958





More information about the llvm-commits mailing list