[PATCH] D72870: [SelectionDag] Updated FoldConstantArithmetic method signature in preparation for merge with FoldConstantVectorArithmetic

Justice Adams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 13:16:41 PST 2020


justice_adams created this revision.
justice_adams added reviewers: bogner, RKSimon, arichardson.
justice_adams added a project: LLVM.
Herald added subscribers: jsji, atanasyan, jrtc27, kbarton, hiraditya, nemanjai, sdardis.

Updated FoldConstantArithmetic method signature to match that of FoldConstantVectorArithmetic in preparation for merging the two functions together

https://bugs.llvm.org/show_bug.cgi?id=36544

This is the first step in combining the various FoldConstantVectorArithmetic and FoldConstantVectorArithmetic functions into one FoldConstantArithmetic function.

I've ensured all lit tests pass on Windows and Linux with the following changes


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72870

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72870.238590.patch
Type: text/x-patch
Size: 11197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200116/7f63e9f8/attachment.bin>


More information about the llvm-commits mailing list