[PATCH] Combine fcmp + select to fminnum / fmaxnum if no nans and legal

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jan 12 16:02:10 PST 2015


Use isKnownNeverNaN, check UnsafeFPMath due to signed zeros


http://reviews.llvm.org/D6744

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/R600/fmax_legacy.ll
  test/CodeGen/R600/fmin_legacy.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6744.18059.patch
Type: text/x-patch
Size: 9343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/b52235c2/attachment.bin>


More information about the llvm-commits mailing list