[all-commits] [llvm/llvm-project] 2b8db4: [SVE] Restrict the usage of REINTERPRET_CAST.

paulwalker-arm via All-commits all-commits at lists.llvm.org
Fri Jan 15 03:34:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b8db40c92186731effd8948049919db8cf37dee
      https://github.com/llvm/llvm-project/commit/2b8db40c92186731effd8948049919db8cf37dee
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td

  Log Message:
  -----------
  [SVE] Restrict the usage of REINTERPRET_CAST.

In order to limit the number of combinations of REINTERPRET_CAST,
whilst at the same time prevent overlap with BITCAST, this patch
establishes the following rules:

1. The operand and result element types must be the same.
2. The operand and/or result type must be an unpacked type.

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




More information about the All-commits mailing list