diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-08 10:37:03 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-08 10:37:03 +0000 |
commit | e2e366797ed51599c57e64417e616ccbd39c9901 (patch) | |
tree | 047755ab75e0dd1b664497b74dc385761bcd6cc3 /llvm/lib/Support/FileCheck.cpp | |
parent | 987331671f02d66dec825e662f07deb507d90a36 (diff) | |
download | llvm-e2e366797ed51599c57e64417e616ccbd39c9901.zip llvm-e2e366797ed51599c57e64417e616ccbd39c9901.tar.gz llvm-e2e366797ed51599c57e64417e616ccbd39c9901.tar.bz2 |
[TargetLowering] SimplifyDemandedBits - call SimplifyMultipleUseDemandedBits for ISD::EXTRACT_VECTOR_ELT
This patch attempts to peek through vectors based on the demanded bits/elt of a particular ISD::EXTRACT_VECTOR_ELT node, allowing us to avoid dependencies on ops that have no impact on the extract.
In particular this helps remove some unnecessary scalar->vector->scalar patterns.
The wasm shift patterns are annoying - @tlively has indicated that the wasm vector shift codegen are to be refactored in the near-term and isn't considered a major issue.
Differential Revision: https://reviews.llvm.org/D65887
llvm-svn: 368276
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions