[PATCH] D143195: ValueTracking: Add start of computeKnownFPClass API
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 08:52:42 PST 2023
arsenm created this revision.
arsenm added reviewers: spatel, jcranmer-intel, nikic, andrew.w.kaylor, sepavloff, kpn, scanon.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Add a new compute-known-bits like function to compute all
the interesting floating point properties at once.
Eventually this should absorb all the various floating point
queries we already have.
The operators on FPClassTest should really go with the definition in FloatingPointMode.h
and are reusable in InstCombine; they're where they are to avoid merge pain for myself in
some of my other patches backed up in review
https://reviews.llvm.org/D143195
Files:
llvm/include/llvm/ADT/FloatingPointMode.h
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/unittests/Analysis/ValueTrackingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143195.494325.patch
Type: text/x-patch
Size: 20235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/3228ac00/attachment.bin>
More information about the llvm-commits
mailing list