[PATCH] D35335: [AMDGPU] fcaninicalize min/max optimization for GFX9+

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 17:17:22 PDT 2017


rampitec updated this revision to Diff 106355.
rampitec marked an inline comment as done.
rampitec added a comment.

Replaced isKnownNeverSNan with stricter check isKnownNeverNaN to correctly handle snans with fmin/fmax even with disabled exceptions.


https://reviews.llvm.org/D35335

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35335.106355.patch
Type: text/x-patch
Size: 4688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170713/523d3525/attachment.bin>


More information about the llvm-commits mailing list