[PATCH] D67830: [AArch64][SVE] Implement punpk[hi|lo] intrinsics
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 06:31:48 PDT 2019
sdesmalen accepted this revision.
sdesmalen added a comment.
This revision is now accepted and ready to land.
LGTM. Looks like a straightforward fix and support for `punpk(hi|lo)` intrinsics.
================
Comment at: llvm/lib/IR/Function.cpp:1213
// If this is a forward reference, defer the check for later.
- return D.getArgumentNumber() >= ArgTys.size() ||
- !isa<VectorType>(ArgTys[D.getArgumentNumber()]) ||
+ if (D.getArgumentNumber() >= ArgTys.size())
+ return IsDeferredCheck || DeferCheck(Ty);
----------------
Nice find!
================
Comment at: llvm/test/CodeGen/AArch64/sve-intrinsics-pred-operations.ll:1
+; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
+
----------------
nit: You've added the file `sve-intrinsics-pred-operations.ll`. Is it worth putting these in a separate directory and separate out the tests per intrinsic, e.g. `test/CodeGen/AArch64/SVE/sve-intrinsics-punpkhi.ll`
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67830/new/
https://reviews.llvm.org/D67830
More information about the cfe-commits
mailing list