[PATCH] D102672: [ConstantFolding] Use APFloat for constant folding. NFC

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 01:31:21 PDT 2021


sepavloff created this revision.
sepavloff added reviewers: evandro, bkramer, foad, arsenm, efriedma.
Herald added a subscriber: hiraditya.
sepavloff requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Replace use of host floating types with operations on APFloat when it is
possible. Use of APFloat makes analysis more convenient and facilitates
constant folding in the case of non-default FP environment.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102672

Files:
  llvm/lib/Analysis/ConstantFolding.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102672.346073.patch
Type: text/x-patch
Size: 14982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210518/af687667/attachment.bin>


More information about the llvm-commits mailing list