[all-commits] [llvm/llvm-project] bb8c67: [AArch64][SVE] Implement integer compare intrinsics

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Fri Dec 6 03:09:44 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb8c679f4bf2a2056b4fafb8b3a3d61254e39219
      https://github.com/llvm/llvm-project/commit/bb8c679f4bf2a2056b4fafb8b3a3d61254e39219
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
    A llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll

  Log Message:
  -----------
  [AArch64][SVE] Implement integer compare intrinsics

Summary:
Adds intrinsics for the following:

    * cmphs, cmphi
    * cmpge, cmpgt
    * cmpeq, cmpne
    * cmplt, cmple
    * cmplo, cmpls

Includes a minor change to `TLI.getMemValueType` that fixes a crash due to the
scalable flag being dropped.

Reviewers: sdesmalen, efriedma, rengolin, rovka, dancgr, huntergr

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list