[PATCH] D33863: [DAGComine] (fadd x, undef) -> undef and (fmul x, undef) -> undef
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 3 07:49:20 PDT 2017
deadalnix created this revision.
As per title. It doesn't canonicalize properly when x is a constant.
https://reviews.llvm.org/D33863
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2012-04-26-sdglue.ll
test/CodeGen/X86/pr23103.ll
test/CodeGen/X86/sse3-avx-addsub-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33863.101316.patch
Type: text/x-patch
Size: 5336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170603/b187211b/attachment.bin>
More information about the llvm-commits
mailing list