[all-commits] [llvm/llvm-project] 2deb10: [AArch64][SVE] Fix crash for DestructiveBinaryComm...

Allen via All-commits all-commits at lists.llvm.org
Tue Jan 17 04:46:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2deb10c1084240f27bdd235fa26a7b001186847f
      https://github.com/llvm/llvm-project/commit/2deb10c1084240f27bdd235fa26a7b001186847f
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    A llvm/test/CodeGen/AArch64/sve-intrinsics-int-binaryComm-merging.mir

  Log Message:
  -----------
  [AArch64][SVE] Fix crash for DestructiveBinaryComm zero merging

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

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D141471




More information about the All-commits mailing list