[FPEnv] Convert more BinaryOperator::isFNeg(...) to m_FNeg(...)
authorCameron McInally <cameron.mcinally@nyu.edu>
Wed, 24 Oct 2018 14:45:18 +0000 (14:45 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Wed, 24 Oct 2018 14:45:18 +0000 (14:45 +0000)
commit678f43f666675811a926811f5e63904aef4d4785
tree78ed73360838709c026f194d0473657d17d92697
parentdafdd049fc2d874ae581e8eb7b06168e02f1d3fa
[FPEnv] Convert more BinaryOperator::isFNeg(...) to m_FNeg(...)

This work is to avoid regressions when we seperate FNeg from the FSub IR instruction.

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

llvm-svn: 345146
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/Transforms/Scalar/Reassociate.cpp
llvm/test/Transforms/Reassociate/fp-expr.ll