[x86] fold fand (fxor X, -1) Y --> fandn X, Y
authorSanjay Patel <spatel@rotateright.com>
Mon, 5 Dec 2016 15:45:27 +0000 (15:45 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 5 Dec 2016 15:45:27 +0000 (15:45 +0000)
commitf807f6a05fbaa06a2a37cf01dc1df7dc357648e9
treed8c826a18103374ddd476febee64d433aa8db2e2
parentbfd6a758618a3c0d4dde6da044b38f3b9a3757d5
[x86] fold fand (fxor X, -1) Y --> fandn X, Y

I noticed this gap in the scalar FP-logic matching with:
D26712
and:
rL287171

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

llvm-svn: 288675
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/fp-logic-replace.ll