We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c3e23 commit b644597Copy full SHA for b644597
llvm/include/llvm/IR/VPIntrinsics.def
@@ -198,6 +198,13 @@ HELPER_REGISTER_BINARY_INT_VP(vp_xor, VP_XOR, Xor)
198
199
#undef HELPER_REGISTER_BINARY_INT_VP
200
201
+// llvm.vp.ctpop(x,mask,vlen)
202
+BEGIN_REGISTER_VP(vp_ctpop, 1, 2, VP_CTPOP, -1)
203
+VP_PROPERTY_FUNCTIONAL_INTRINSIC(ctpop)
204
+VP_PROPERTY_UNARYOP
205
+END_REGISTER_VP(vp_ctpop, VP_CTPOP)
206
+
207
208
///// } Integer Arithmetic
209
210
///// Floating-Point Arithmetic {
@@ -357,6 +364,13 @@ VP_PROPERTY_CONSTRAINEDFP(1, 1, experimental_constrained_nearbyint)
357
364
VP_PROPERTY_FUNCTIONAL_INTRINSIC(nearbyint)
358
365
END_REGISTER_VP(vp_nearbyint, VP_FNEARBYINT)
359
366
367
+// llvm.vp.trunc(x,mask,vlen)
368
+BEGIN_REGISTER_VP(vp_trunc, 1, 2, VP_TRUNC, -1)
369
370
+VP_PROPERTY_CONSTRAINEDFP(0, 1, experimental_constrained_trunc)
371
+VP_PROPERTY_FUNCTIONAL_INTRINSIC(trunc)
372
+END_REGISTER_VP(vp_trunc, VP_TRUNC)
373
360
374
///// } Rounding
361
375
362
376
///// Memory Operations {
0 commit comments