[PATCH] D53205: [FPEnv][NFCI] Convert more BinaryOperator::isFNeg(...) to m_FNeg(...)

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 12:52:55 PDT 2018


cameron.mcinally updated this revision to Diff 170729.
cameron.mcinally added a comment.

Rebase, add Sanjay's changes, and replace some more BinaryOperator::isFNeg(...) calls.

@spatel notice the one test change. That seems like a good change to me, i.e. replace a constant pool load with undef. But, perhaps the CP load is a canonicalization that I don't know about....


Repository:
  rL LLVM

https://reviews.llvm.org/D53205

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53205.170729.patch
Type: text/x-patch
Size: 5179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/c63c322f/attachment.bin>


More information about the llvm-commits mailing list