[all-commits] [llvm/llvm-project] f39873: [FEnv] Constfold some unary constrained operations

Serge Pavlov via All-commits all-commits at lists.llvm.org
Fri Mar 27 22:31:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f398739152948377b81d9ce393d62c18e105699c
      https://github.com/llvm/llvm-project/commit/f398739152948377b81d9ce393d62c18e105699c
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/FPEnv.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/IR/FPEnv.cpp
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
    A llvm/test/Transforms/InstSimplify/constfold-constrained.ll

  Log Message:
  -----------
  [FEnv] Constfold some unary constrained operations

This change implements constant folding to constrained versions of
intrinsics, implementing rounding: floor, ceil, trunc, round, rint and
nearbyint.

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




More information about the All-commits mailing list