Skip to content
Commit c0e5e7db authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[SLP]Fix a crash trying finding insert point for GEP nodes with non-gep

insts.

If the vectorizable GEP node is built, which should not be scheduled,
and at least one node is a non-gep instruction, need to insert the
vectorized instructions before the last instruction in the list, not
before the first one, otherwise the instructions may be emitted in the
wrong order.
parent 053bf864
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment