[PATCH] D143505: [InstSimplify] fix/improve folding with an SNaN operand

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 10:18:44 PST 2023


spatel updated this revision to Diff 495589.
spatel marked an inline comment as done.
spatel added a comment.
Herald added subscribers: foad, kerbowa, jvesely.

Patch updated:
Added a "makeQuiet" wrapper to APFloat. If that part + AMDGPU diff looks ok, I can make it a pre-commit. It doesn't change any functionality for this patch.


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

https://reviews.llvm.org/D143505

Files:
  llvm/include/llvm/ADT/APFloat.h
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
  llvm/test/Transforms/InstSimplify/fp-nan.ll
  llvm/test/Transforms/InstSimplify/strictfp-fadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143505.495589.patch
Type: text/x-patch
Size: 5375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230207/3fee59a9/attachment.bin>


More information about the llvm-commits mailing list