[VP] Improve the VP intrinsic unittests
authorSimon Moll <simon.moll@emea.nec.com>
Tue, 11 May 2021 07:09:48 +0000 (09:09 +0200)
committerSimon Moll <simon.moll@emea.nec.com>
Tue, 11 May 2021 09:44:09 +0000 (11:44 +0200)
commitb159987054e12ad9f5b5e373249cbdba90047b84
treec3da806ac3874af73ae12a5487c845dfc27de4ae
parentd7086af2143d58a6535e0837c4d8789c69c6985f
[VP] Improve the VP intrinsic unittests

Test that all VP intrinsics are tested.
Test intrinsic id -> opcode -> intrinsic id round tripping.
Test property scopes in the include/llvm/IR/VPIntrinsics.def file.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D93534
llvm/unittests/IR/VPIntrinsicTest.cpp