llvm-project
7bfd54ac - [SandboxVec][BottomUpVec] Improve handling of external uses (#185468)

Commit
15 days ago
[SandboxVec][BottomUpVec] Improve handling of external uses (#185468) Up until now the bottom-up vectorizer pass would not delete the scalar instructions that have external uses after being vectorized, because it lacked the ability to generate extracts from the vectors. With the term "external uses", we refer to uses outside the currently vectorized graph. This patch fixes this. We can now properly handle external uses by extracting from the vectors. This change relies on the recent changes to the DAG's callbacks because the external user may not be within the current DAG's interval.
Author
Parents
Loading