[all-commits] [llvm/llvm-project] 95efea: [AArch64][SVE] Widen narrow sdiv/udiv operations.

Eli Friedman via All-commits all-commits at lists.llvm.org
Tue Aug 4 13:22:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 95efea4b9310bb204a42fbf29abd4efa65647000
      https://github.com/llvm/llvm-project/commit/95efea4b9310bb204a42fbf29abd4efa65647000
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll

  Log Message:
  -----------
  [AArch64][SVE] Widen narrow sdiv/udiv operations.

The SVE instruction set only supports sdiv/udiv for 32-bit and 64-bit
integers.  If we see an 8-bit or 16-bit divide, widen the operands to 32
bits, and narrow the result.

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




More information about the All-commits mailing list