HomePhabricator

[InstSimplify] fp_binop X, NaN --> NaN

Authored by spatel on Mar 21 2018, 12:31 PM.

Description

[InstSimplify] fp_binop X, NaN --> NaN

We propagate the existing NaN value when possible.

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

llvm-svn: 328140

Details