[SLP]Fix the cost for the extractelements, used in several nodes.
Currently the compiler calculates the compensation cost for the extractelements, removed during vectorization. But if the extractelement instruction is used in several nodes, we can calculate the compensation for them several times. Differential Revision: https://reviews.llvm.org/D148806
Loading
Please sign in to comment