[X86][SSE] isFNEG - Use getTargetConstantBitsFromNode to handle all constant cases
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 31 Jul 2018 10:13:17 +0000 (10:13 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 31 Jul 2018 10:13:17 +0000 (10:13 +0000)
commit99d475f97d73878519f6999680733d66abbcd690
tree0bcd355e144f2b497dc835a8ea745ea5cbdf7489
parent293079f2dec1f505fac48b31417ebd734e9d410d
[X86][SSE] isFNEG - Use getTargetConstantBitsFromNode to handle all constant cases

isFNEG was duplicating much of what was done by getTargetConstantBitsFromNode in its own calls to getTargetConstantFromNode.

Noticed while reviewing D48467.

llvm-svn: 338358
llvm/lib/Target/X86/X86ISelLowering.cpp