[PATCH] D52765: [ConstantFolding] Constant fold minimum and maximum intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 20:09:28 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D52765#1252052, @tlively wrote:

> In https://reviews.llvm.org/D52765#1252050, @arsenm wrote:
>
> > This is already done? See test/Transforms/InstCombine/{minnum,maxnum}.ll
>
>
> This is for two proposed new intrinsics that have the draft IEEE 754-2018 semantics (NaN propagation and defined ordering of signed zeros) as opposed to minnum and maxnum's IEEE 754-2008 semantics.


The minnum/mixnum intrinsics don't follow the IEEE 754-2008 NaN propagation rules


Repository:
  rL LLVM

https://reviews.llvm.org/D52765





More information about the llvm-commits mailing list