This fix is similar to D124325, and I find the DestructiveBinaryComm
operation type also may be allocated same register, so insert the LSL.
movprfx z0.s, p0/z, z0.s lsl z0.b, p0/m, z0.b, #0 fmul z0.s, p0/m, z0.s, z0.s
Differential D141471
[AArch64][SVE] Fix crash for DestructiveBinaryComm zero merging Allen on Jan 11 2023, 2:12 AM. Authored by
Details This fix is similar to D124325, and I find the DestructiveBinaryComm movprfx z0.s, p0/z, z0.s lsl z0.b, p0/m, z0.b, #0 fmul z0.s, p0/m, z0.s, z0.s
Diff Detail
Event TimelineComment Actions This is what I was referring to during my review of D124325 whereby I was suggesting your fix was more generic than you thought and could be the way to solve all such problems for all the destructive types that have two or more operands. That being said, I have no problem with build it up one destructive type at a time.
|
This being an || chain already in brackets I doubt you need these inner brackets.