[PATCH] D67721: [InstSimplify] fold fma/fmuladd with a NaN operand
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 28 06:39:30 PDT 2019
spatel updated this revision to Diff 222291.
spatel added a comment.
Patch updated:
The other fma-simplification-related patches have landed, but this limited patch is still independent of that.
I did change this patch to use the existing logic that we apply to normal FP ops, so now we fold 'undef' and 'NaN' operands consistently with the FP binops (fmul, fadd, fsub. fdiv, frem).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67721/new/
https://reviews.llvm.org/D67721
Files:
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67721.222291.patch
Type: text/x-patch
Size: 5726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190928/7c87bb92/attachment.bin>
More information about the llvm-commits
mailing list