| Issue |
79229
|
| Summary |
Crash in SLPvectorizer on assertion "trying to erase instruction with users."
|
| Labels |
llvm:SLPVectorizer
|
| Assignees |
|
| Reporter |
valerydmit
|
to reproduce:
opt -passes=slp-vectorizer -mcpu=x86-64-v3 -disable-output f.ll
[f.txt](https://github.com/llvm/llvm-project/files/14030909/f.txt)
f.ll attached as f.txt.
Fails after
```
commit ac254fc055980219b30821c3717c6b7db0fbbc46
Author: Alexey Bataev <[email protected]>
Date: Tue Apr 18 04:16:58 2023 -0700
[SLP]Improve tryToGatherExtractElements by using per-register analysis.
Currently tryToGatherExtractElements function analyzes the whole vector,
regrdless number of actual registers, used in this vector. It may
prevent some optimizations, because per-register analysis may allow to
simplify the final code by reusing more already emitted vectors and
better shuffles.
Differential Revision: https://reviews.llvm.org/D148855
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs