diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-02-07 13:03:16 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-02-07 16:53:19 +0000 |
commit | 3daf2fb71109d89b354e12eb3f05486b317e548f (patch) | |
tree | 77b7af4f0975fc76c460f02ea2aac3c2fb12c993 /clang/lib/Basic/FileManager.cpp | |
parent | 9bd58f6f051c9b5546bbaa891fa11d3624b8d9a4 (diff) | |
download | llvm-3daf2fb71109d89b354e12eb3f05486b317e548f.zip llvm-3daf2fb71109d89b354e12eb3f05486b317e548f.tar.gz llvm-3daf2fb71109d89b354e12eb3f05486b317e548f.tar.bz2 |
[X86] combineX86ShuffleChainWithExtract - refactor to remove need to widen all vectors
combineX86ShuffleChain no longer needs the candidate shuffle inputs to all have been widened to root size, but combineX86ShuffleChainWithExtract still assumes that they have.
This refactor peeks through all inputs' extract_subvector nodes to find the widest legal vector type and widens the shuffle mask accordingly - it no longer bails if any of the inputs can't be widened to the new width.
combineX86ShuffleChainWithExtract now follows a similar process to combineX86ShufflesRecursively, so I think we should eventually be able to get rid of it and just let combineX86ShufflesRecursively handle widening the shuffle width as well.
Another step toward removing subvector widening for Issue #45319
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions