[PATCH] D79416: [SVE] Fix wrong usage of getNumElements() in matchIntrinsicType
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 09:09:03 PDT 2020
efriedma added a comment.
Can you add a verifier test that we correctly reject something like the following?
declare <2 x i64> @llvm.aarch64.sve.add.nxv2i64(<2 x i1>, <2 x i64>, <2 x i64>)
define <2 x i64> @f() {
%r = call <2 x i64> @llvm.aarch64.sve.add.nxv2i64(<2 x i1> zeroinitializer, <2 x i64> zeroinitializer, <2 x i64> zeroinitializer)
ret <2 x i64> %r
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79416/new/
https://reviews.llvm.org/D79416
More information about the llvm-commits
mailing list