[all-commits] [llvm/llvm-project] 3dd49e: [AArch64][SVE] Implement extractelement of i1 vect...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon May 17 14:51:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dd49ec1948b8be0b025e1558071506a58454722
      https://github.com/llvm/llvm-project/commit/3dd49ec1948b8be0b025e1558071506a58454722
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-extract-element.ll

  Log Message:
  -----------
  [AArch64][SVE] Implement extractelement of i1 vectors.

The implementation just extends the vector to a larger element type, and
extracts from that.  Not fancy, but generates reasonable code.

There was discussion in the review of doing the promotion in
target-independent code, but I'm sticking with this to avoid making
LegalizeDAG infrastructure more complicated.

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




More information about the All-commits mailing list