[FPEnv] Last BinaryOperator::isFNeg(...) to m_FNeg(...) changes
authorCameron McInally <cameron.mcinally@nyu.edu>
Thu, 25 Oct 2018 18:09:33 +0000 (18:09 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Thu, 25 Oct 2018 18:09:33 +0000 (18:09 +0000)
commit384a74b0e63d847650e10ac7886fdadd44fc431c
tree5b9f21624640b03d7a423ebeacb1b3135c38128b
parent9db06423d1c2744da799a2e118667bf1723843a6
[FPEnv] Last BinaryOperator::isFNeg(...) to m_FNeg(...) changes

Replacing BinaryOperator::isFNeg(...) to avoid regressions when we
separate FNeg from the FSub IR instruction.

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

llvm-svn: 345295
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/fpcast.ll