llvm-project
58c86968 - [AArch64] Generate usdot instruction with multiple zext users in loop (#129718)

Commit
211 days ago
[AArch64] Generate usdot instruction with multiple zext users in loop (#129718) Currently, `partial_reduce(acc,mul(sext, zext))` is reduced to `usdot` in loop only if `zext` has single user i.e. `mul` If there are two partial reduce equations in loop body such as: ``` partial_reduce1(acc1,mul1(sext1, zext)) partial_reduce2(acc2,mul2(sext2, zext)) ``` and `zext` has no other users other than `mul1`/`mul2`, then this won't result in `usdot` instructions. This patch checks if multiple users of `zext`, like above, satisfy the same set of conditions as for a single user so that `usdot` instructions are generated.
Author
Parents
Loading