diff options
author | Craig Topper <craig.topper@intel.com> | 2019-08-04 17:30:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-08-04 17:30:41 +0000 |
commit | 5a4989e2ac74d60bd52791ac42a1b800b6c605aa (patch) | |
tree | 7d321d3c733fd76ab7a3db2bbe9918b89d691b1a /llvm/lib/Support/CodeGenCoverage.cpp | |
parent | 295f99265b83e12d3bca45707ec1c5a4fa4df55b (diff) | |
download | llvm-5a4989e2ac74d60bd52791ac42a1b800b6c605aa.zip llvm-5a4989e2ac74d60bd52791ac42a1b800b6c605aa.tar.gz llvm-5a4989e2ac74d60bd52791ac42a1b800b6c605aa.tar.bz2 |
[TargetLowering][X86] Teach SimplifyDemandedVectorElts to replace the base vector of INSERT_SUBVECTOR with undef if none of the elements are demanded even if the node has other users.
Summary:
The SimplifyDemandedVectorElts function can replace with undef
when no elements are demanded, but due to how it interacts with
TargetLoweringOpts, it can only do this when the node has
no other users.
Remove a now unneeded DAG combine from the X86 backend.
Reviewers: RKSimon, spatel
Reviewed By: RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65713
llvm-svn: 367788
Diffstat (limited to 'llvm/lib/Support/CodeGenCoverage.cpp')
0 files changed, 0 insertions, 0 deletions