[AArch64][SVE] Implement punpk[hi|lo] intrinsics
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Mon, 30 Sep 2019 17:10:21 +0000 (17:10 +0000)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Mon, 30 Sep 2019 17:10:21 +0000 (17:10 +0000)
commit01b84e175c500dd85c522920de992c0b2c5b1060
treeba0a997f957797ed02077bdc259dc0083d50c538
parent8299fd9dee7df7c5f92ab2572aad04ce2fbbf83e
[AArch64][SVE] Implement punpk[hi|lo] intrinsics

Summary:
Adds the following two intrinsics:
  - int_aarch64_sve_punpkhi
  - int_aarch64_sve_punpklo

This patch also contains a fix which allows LLVMHalfElementsVectorType
to forward reference overloadable arguments.

Reviewers: sdesmalen, rovka, rengolin

Reviewed By: sdesmalen

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

Tags: #llvm

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

llvm-svn: 373232
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/IR/Function.cpp
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll [new file with mode: 0644]