[PATCH] D35218: [AMDGPU] fcanonicalize elimination optimization

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 10:34:29 PDT 2017


rampitec updated this revision to Diff 106062.
rampitec added a comment.

GFX9 handles denorms in min/max instructions, although its behavior in respect to signaling NaN handling is not identical if they are quieted or not before the instruction. That is still possible to perform GFX9 specific part of min/max handling given non-nans flag.
However, given the controversy and that GFX9 part of the change is non-essential I have removed specialization here, replacing it with todo. It can be done separately when needed.


https://reviews.llvm.org/D35218

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/fcanonicalize-elimination.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35218.106062.patch
Type: text/x-patch
Size: 25924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/c6b0ffd6/attachment.bin>


More information about the llvm-commits mailing list