[all-commits] [llvm/llvm-project] c9c05a: [ConstantFolding] Use APFloat for constant folding...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Fri May 21 23:01:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9c05a91c4843c243d508c39bdfbc5e26f311af2
      https://github.com/llvm/llvm-project/commit/c9c05a91c4843c243d508c39bdfbc5e26f311af2
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp

  Log Message:
  -----------
  [ConstantFolding] Use APFloat for constant folding. NFC

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.

Differential Revision: https://reviews.llvm.org/D102672




More information about the All-commits mailing list