[PATCH] D107285: [FPEnv][InstSimplify] Enable more folds for constrained fsub

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 07:59:45 PDT 2021


kpn updated this revision to Diff 375582.
kpn added a comment.

Update for review comments. Instructions that are "maytrap" where a SNaN may be seen must not be eliminated.

I've also added tests for transforms that won't fire due to a lack of IR matcher support. We're going through codepaths we weren't before so we're testing what we weren't before.


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

https://reviews.llvm.org/D107285

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/strictfp-fsub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107285.375582.patch
Type: text/x-patch
Size: 41366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/26e87ab4/attachment.bin>


More information about the llvm-commits mailing list