SuccessChanges

Summary

  1. gn build: Merge r375390 (details)
  2. [InstCombine] Allow values with multiple users in (details)
Commit 01e177ede563680faebc57dcda707632b1b9a45d by llvmgnsyncbot
gn build: Merge r375390
llvm-svn: 375393
The file was modifiedllvm/utils/gn/secondary/lld/Common/BUILD.gn
Commit a861c9aef926f963ea31581bebbd197356323928 by Piotr Sobczak
[InstCombine] Allow values with multiple users in
SimplifyDemandedVectorElts
Summary: Allow for ignoring the check for a single use in
SimplifyDemandedVectorElts to be able to simplify operands if
DemandedElts is known to contain the union of elements used by all
users. It is a responsibility of a caller of SimplifyDemandedVectorElts
to supply correct DemandedElts.
Simplify a series of extractelement instructions if only a subset of
elements is used.
Reviewers: reames, arsenm, majnemer, nhaehnle
Reviewed By: nhaehnle
Subscribers: wdng, jvesely, nhaehnle, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67345
llvm-svn: 375395
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp