1. [InstCombine] Allow values with multiple users in (details)
Commit a861c9aef926f963ea31581bebbd197356323928 by Piotr Sobczak
[InstCombine] Allow values with multiple users in
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:
llvm-svn: 375395
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp