[PATCH] D25374: [DAGCombiner] Update most ADD combines to support general vector combines

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 11:51:19 PDT 2016


RKSimon created this revision.
RKSimon added reviewers: eli.friedman, mkuper, niravd, spatel, andreadb.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

Add a number of helper functions to match scalar or vector equivalent constant/splat values to allow most of the combine patterns to be used by vectors.


Repository:
  rL LLVM

https://reviews.llvm.org/D25374

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/combine-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25374.73961.patch
Type: text/x-patch
Size: 11217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161007/c891f773/attachment.bin>


More information about the llvm-commits mailing list