During lowering, especially of smaller vector types, we can end up with add (extract_subvector(zext(x), extract_subvector(zext(y)), which can be turned into extract_subvector(add(zext(y), zext(x))), which can use the addl AArch64 instruction. This adds some tablegen patterns for it, along with addw where only one operand is an extract/extend and subl/subw.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo