[all-commits] [llvm/llvm-project] 8ff36a: [ConstantFolding] Enable folding of min/max/copysi...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Wed Jun 9 21:58:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ff36aab69ece2cc91ba30f82847d19fe877a7ab
      https://github.com/llvm/llvm-project/commit/8ff36aab69ece2cc91ba30f82847d19fe877a7ab
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/copysign.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll

  Log Message:
  -----------
  [ConstantFolding] Enable folding of min/max/copysign for all floats

Previously such folding was enabled for half, float and double values
only. With this change it is allowed for other floating point values
also.

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




More information about the All-commits mailing list