Skip to content

Commit 0e6b820

Browse files
committed
Add other histogram intrinsics to base getIntrinsicInstrCost
1 parent fddc3b3 commit 0e6b820

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
@@ -2111,6 +2111,9 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
21112111
case Intrinsic::get_active_lane_mask:
21122112
case Intrinsic::experimental_vector_match:
21132113
case Intrinsic::experimental_vector_histogram_add:
2114+
case Intrinsic::experimental_vector_histogram_uadd_sat:
2115+
case Intrinsic::experimental_vector_histogram_umax:
2116+
case Intrinsic::experimental_vector_histogram_umin:
21142117
return thisT()->getTypeBasedIntrinsicInstrCost(ICA, CostKind);
21152118
case Intrinsic::modf:
21162119
case Intrinsic::sincos:

0 commit comments

Comments
 (0)