[PATCH] D145266: [FPEnv][InstSimplify] Fold fadd X, Inf ==> Inf

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 12:37:04 PST 2023


kpn created this revision.
kpn added reviewers: sepavloff, spatel, nlopes.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
kpn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently the fadd support in InstSimplify doesn't know how to fold to infinity when dealing with the constrained intrinsics. This adds the support.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145266

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145266.502218.patch
Type: text/x-patch
Size: 6663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230303/40b8b71c/attachment.bin>


More information about the llvm-commits mailing list