[PATCH] D61419: Support FNeg ConstantExpr folding

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 13:30:49 PDT 2019


cameron.mcinally updated this revision to Diff 197853.
cameron.mcinally retitled this revision from "Support FNeg constant folding" to "Support FNeg ConstantExpr folding".
cameron.mcinally added a comment.

Remove DAG changes as @spatel suggested.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61419/new/

https://reviews.llvm.org/D61419

Files:
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/IR/ConstantFold.h
  llvm/lib/IR/Constants.cpp
  llvm/test/CodeGen/X86/fp-fold.ll
  llvm/test/CodeGen/X86/vec_fneg.ll
  llvm/test/Transforms/InstCombine/fneg.ll
  llvm/test/Transforms/InstCombine/fsub.ll
  llvm/test/Transforms/InstCombine/inselt-binop.ll
  llvm/test/Transforms/Reassociate/crash2.ll
  llvm/unittests/IR/ConstantsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61419.197853.patch
Type: text/x-patch
Size: 12170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190502/45c19bd0/attachment.bin>


More information about the llvm-commits mailing list