[PATCH] D44308: [ConstantFold] fp_binop AnyConstant, undef --> NaN

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 08:41:36 PST 2018


spatel updated this revision to Diff 137760.
spatel added a comment.

Patch updated:

1. Fixed the AMDGPU test to not be affected ( https://reviews.llvm.org/rL327147 ).
2. Fixed the 'Inf' constants in some tests to actually be 'Inf' ( https://reviews.llvm.org/rL327144 ).


https://reviews.llvm.org/D44308

Files:
  lib/IR/ConstantFold.cpp
  test/Transforms/InstCombine/fsub.ll
  test/Transforms/InstSimplify/fp-undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44308.137760.patch
Type: text/x-patch
Size: 11063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/bf8ff732/attachment.bin>


More information about the llvm-commits mailing list