[InstSimplify] fold copysign with negated operand, part 2
authorSanjay Patel <spatel@rotateright.com>
Sun, 8 Dec 2019 15:13:16 +0000 (10:13 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 8 Dec 2019 15:16:29 +0000 (10:16 -0500)
commit1c4dd3ae2f34541e53ad0110f261421083bc0157
tree10a2e59ebcd0a2c4fba9d8532556282ff720c598
parenta05d7c278ee2a29aec73dbe5316e5cf2a2d190f8
[InstSimplify] fold copysign with negated operand, part 2

This is another transform suggested in PR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153

Unlike rG12f39e0fede9, it doesn't look like the
backend matches this variant.
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/call.ll