diff options
author | Caroline Concatto <caroline.concatto@arm.com> | 2022-08-19 12:08:14 +0100 |
---|---|---|
committer | Caroline Concatto <caroline.concatto@arm.com> | 2022-08-19 12:13:03 +0100 |
commit | 09afe4155b304c8ab9e90c5699f1c0f10ccd0a7e (patch) | |
tree | 3174da8619d9190c4700e96b93ef2628879b4953 /libcxx/include/__algorithm/generate.h | |
parent | e99f6df726c9a90f522f9c42c666d411395f8c36 (diff) | |
download | llvm-09afe4155b304c8ab9e90c5699f1c0f10ccd0a7e.zip llvm-09afe4155b304c8ab9e90c5699f1c0f10ccd0a7e.tar.gz llvm-09afe4155b304c8ab9e90c5699f1c0f10ccd0a7e.tar.bz2 |
[InstCombine] For vector extract when extract vector and insert value type is the same
This patch has implements these optimizations:
extract.vector(insert.vector(Vector, Value, Idx), Idx) --> Value
extract.vector(insert.vector(Vector, Value, InsertIndex), ExtractIndex)
--> extract.vector(Vector, ExtractIndex)
Reviewed By: sdesmalen
Differential Revision: https://reviews.llvm.org/D132137
Diffstat (limited to 'libcxx/include/__algorithm/generate.h')
0 files changed, 0 insertions, 0 deletions