| Issue |
75437
|
| Summary |
SLP Vectorizer discards vector entries at unknown positions
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
momo5502
|
SLP Vectorizer can discard vector entries at unknown positions. This example shows the behaviour:
https://godbolt.org/z/or43EM594
The following instruction inserts an element at an unknown position:
```
%2 = insertelement <3 x i64> poison, i64 %value, i64 %position
```
The position depends on an argument that is unknown at compile time.
After running SLP, one can see there is no more instruction present referencing `%position`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs