[PATCH] D107285: [FPEnv][InstSimplify] Enable more folds for constrained fsub
Kevin P. Neal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 2 09:19:13 PDT 2021
kpn created this revision.
kpn added reviewers: sepavloff, spatel, lebedev.ri, nlopes, scanon.
Herald added a subscriber: hiraditya.
kpn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Currently there are optimizations for the fsub instruction that do not fire for a constrained fsub. Add some of these optimizations.
Optimizations that require teaching the IR matchers about the constrained intrinsics are for a future patch.
Repository:
rG LLVM Github Monorepo
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.363491.patch
Type: text/x-patch
Size: 29547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210802/dc83f528/attachment.bin>
More information about the llvm-commits
mailing list