[all-commits] [llvm/llvm-project] a861c9: [InstCombine] Allow values with multiple users in ...
Piotr Sobczak via All-commits
all-commits at lists.llvm.org
Mon Oct 21 01:12:19 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a861c9aef926f963ea31581bebbd197356323928
https://github.com/llvm/llvm-project/commit/a861c9aef926f963ea31581bebbd197356323928
Author: Piotr Sobczak <piotr.sobczak at amd.com>
Date: 2019-10-21 (Mon, 21 Oct 2019)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list