[llvm] [SLP][NFC] Remove useless code of deleting ExtractElementInst (PR #106697)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 04:46:20 PDT 2024


tcwzxx wrote:

> removeInstructionsAndOperands works only for vectorized scalars. adjustExtracts handles extractelements, which are not vectorized, part of buildvector

The `extractelements` of `buildvector` are operators of vectorized scalars. `removeInstructionsAndOperands` should have already handled this correctly?"


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


More information about the llvm-commits mailing list