diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-09-08 19:03:01 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-09-08 19:03:01 +0000 |
commit | aff5bee35fb36897dd5414a52c11c14d2f858822 (patch) | |
tree | 2c0b874fd98dadd3ad96115b065ef73bf885d91a /clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp | |
parent | 64965430db5706a0b235d52663f1fa466b53eed8 (diff) | |
download | bcm5719-llvm-aff5bee35fb36897dd5414a52c11c14d2f858822.tar.gz bcm5719-llvm-aff5bee35fb36897dd5414a52c11c14d2f858822.zip |
[InstCombine] fold extract+insert into identity shuffle
This is similar to the existing fold for splats added with:
rL365379
If we can adjust the shuffle mask to include another element
in an identity mask (if it changes vector length, that's an
extract/insert subvector operation in the backend), then that
can eliminate extractelement/insertelement pairs in IR.
All targets are expected to lower shuffles with identity masks
efficiently.
llvm-svn: 371340
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp')
0 files changed, 0 insertions, 0 deletions