[PATCH] D87456: AMDGPU/GlobalISel Check for NoNaNsFPMath in isKnownNeverSNaN

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 06:42:35 PDT 2020


Petar.Avramovic updated this revision to Diff 291200.
Petar.Avramovic retitled this revision from "AMDGPU/GlobalISel Check target options before isKnownNeverSNaN" to "AMDGPU/GlobalISel Check for NoNaNsFPMath in isKnownNeverSNaN".
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.

Move change in IRTranslator in another patch, since effects of that change can only be seen when function attributes are inspected during translation of a function that was not first in input file.
Move check for NoNaNsFPMath in isKnownNeverSNaN.
Reduce number of tests, only keep characteristic ones that will be updated when we add some combines and improvements to legalizer. Later switch to existing test in sdag that also checks for pattern commutes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87456/new/

https://reviews.llvm.org/D87456

Files:
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87456.291200.patch
Type: text/x-patch
Size: 27402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200911/9703c235/attachment.bin>


More information about the llvm-commits mailing list