[all-commits] [llvm/llvm-project] 97d51e: [Hexagon] Disallow using the same register for Vy/...

quic-akaryaki via All-commits all-commits at lists.llvm.org
Wed Feb 1 07:29:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97d51e3fa8e8a6ecd134dab79272f7cf94122e51
      https://github.com/llvm/llvm-project/commit/97d51e3fa8e8a6ecd134dab79272f7cf94122e51
  Author: Alexey Karyakin <akaryaki at quicinc.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
    A llvm/test/MC/Hexagon/PacketRules/hvx_vshuff_vdeal.s
    A llvm/test/MC/Hexagon/PacketRules/hvx_vshuff_vdeal_dup.s
    M llvm/test/MC/Hexagon/extensions/v67_hvx.s

  Log Message:
  -----------
  [Hexagon] Disallow using the same register for Vy/Vx in vdeal/vshuff

Non-assignment forms of vshuff and vdeal use the first two registers
(Vy, Vx) as both inputs and outputs. It is not valid to use the same
register for both Vy and Vx. The double-write error was not detected
previously because of a special case, which is not actually necessary.

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




More information about the All-commits mailing list