[PATCH] D137655: Expand fminimum and fmaximum into a pair of selects

Goran Flegar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 06:43:38 PST 2022


gflegar updated this revision to Diff 474535.
gflegar added a comment.

Limit expansion only to NVPTX backend

There it ends up handling all the cases correctly, due to the expanded
semantics of the min/max PTX instructions for +/-0.0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137655

Files:
  llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
  llvm/lib/Target/NVPTX/NVPTXISelLowering.h
  llvm/test/CodeGen/NVPTX/fminimum-fmaximum.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137655.474535.patch
Type: text/x-patch
Size: 6536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221110/9877392e/attachment.bin>


More information about the llvm-commits mailing list