[PATCH] D135278: [VectorCombine] convert scalar fneg with insert/extract to vector fneg
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 07:49:35 PDT 2022
spatel added a comment.
In D135278#3862108 <https://reviews.llvm.org/D135278#3862108>, @spatel wrote:
> In D135278#3862060 <https://reviews.llvm.org/D135278#3862060>, @uabelho wrote:
>
>> Hello,
>>
>> The following starts crashing with this patch:
>>
>> opt -passes='vector-combine' bbi-74776.ll -S -o /dev/null
>>
>> F24949176: bbi-74776.ll <https://reviews.llvm.org/F24949176>
>
> Thanks! Taking a look now - probably need to restrict the pattern match to true `fneg`.
On 2nd thought, we can adjust the capture to handle this kind of pattern:
8d76fbb5f065 <https://reviews.llvm.org/rG8d76fbb5f0659bba47a7f38847550a2bc8bbf0c1>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135278/new/
https://reviews.llvm.org/D135278
More information about the llvm-commits
mailing list