[llvm] [SLP]Initial support for copyable elements (non-schedulable only) (PR #140279)

Hassnaa Hamdi via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 12:04:25 PDT 2025


hassnaaHamdi wrote:

Hi @alexey-bataev 
I have looked at the patch, but to be honest it's not easy to fully understand it specially that I'm a beginner at the SLP.
Last month I was working on something similar but I didn't have the opportunity to publish it and then I saw your patch. Your patch seems much deeper :'D 
My patch is handling all cases where an identity operation can be created for the isomorphic instructions so it works for add/lshr and similar instructions.
But I'm not pretty sure about the correctness of the idea.
I have created a draft patch here: https://github.com/llvm/llvm-project/pull/143583 
If you have time, please give it a look.

https://github.com/llvm/llvm-project/pull/140279


More information about the llvm-commits mailing list