diff options
| author | Piotr Sobczak <piotr.sobczak@amd.com> | 2019-10-21 08:12:47 +0000 |
|---|---|---|
| committer | Piotr Sobczak <piotr.sobczak@amd.com> | 2019-10-21 08:12:47 +0000 |
| commit | a861c9aef926f963ea31581bebbd197356323928 (patch) | |
| tree | 742e728b082ef23f6c99f3c1cac36dca6d56b7f5 /llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp | |
| parent | 01e177ede563680faebc57dcda707632b1b9a45d (diff) | |
| download | llvm-a861c9aef926f963ea31581bebbd197356323928.zip llvm-a861c9aef926f963ea31581bebbd197356323928.tar.gz llvm-a861c9aef926f963ea31581bebbd197356323928.tar.bz2 | |
[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
Diffstat (limited to 'llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp')
0 files changed, 0 insertions, 0 deletions
