[PATCH] D147902: ValueTracking: Implement computeKnownFPClass for fpext

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 15 04:59:55 PDT 2023


arsenm updated this revision to Diff 513890.
arsenm added a comment.

Move condition into APFloat. Take a stab at guarding against exotic formats with large mantissas, although I don't think this is a practical problem (if the precision isn't larger, should fpext even be a valid operation to perform)?


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

https://reviews.llvm.org/D147902

Files:
  llvm/include/llvm/ADT/APFloat.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Support/APFloat.cpp
  llvm/test/Transforms/Attributor/nofpclass-fpext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147902.513890.patch
Type: text/x-patch
Size: 19421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230415/4d8fd846/attachment.bin>


More information about the llvm-commits mailing list