Skip to content

Commit 951abb5

Browse files
committed
Add other histogram intrinsics to base getIntrinsicInstrCost
1 parent 1595e80 commit 951abb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,9 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
21062106
case Intrinsic::get_active_lane_mask:
21072107
case Intrinsic::experimental_vector_match:
21082108
case Intrinsic::experimental_vector_histogram_add:
2109+
case Intrinsic::experimental_vector_histogram_uadd_sat:
2110+
case Intrinsic::experimental_vector_histogram_umax:
2111+
case Intrinsic::experimental_vector_histogram_umin:
21092112
return thisT()->getTypeBasedIntrinsicInstrCost(ICA, CostKind);
21102113
case Intrinsic::modf:
21112114
case Intrinsic::sincos:

0 commit comments

Comments
 (0)