[PATCH] D140580: [SLP]Do not emit many extractelements, reuse the single one emitted.

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 06:35:40 PST 2023


anna added a comment.

In D140580#4022871 <https://reviews.llvm.org/D140580#4022871>, @ABataev wrote:

> In D140580#4022462 <https://reviews.llvm.org/D140580#4022462>, @uabelho wrote:
>
>> We also see crashes with this. Reproduceable with
>>
>>   opt -passes="slp-vectorizer" -mtriple=aarch64--linux-gnu bbi-77341.ll -o /dev/null
>>
>> F26081559: bbi-77341.ll <https://reviews.llvm.org/F26081559>
>
> Why those constant insructions were not folded away by Instcombiner?

We used fuzzer as well. Also, functional correctness of a pass is orthogonal to whether other passes produce optimal instructions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140580/new/

https://reviews.llvm.org/D140580



More information about the llvm-commits mailing list