Skip to content

Commit 3353d5e

Browse files
committed
Add shortcut to call onto getTypeBasedIntrinsicInstrCost directly
1 parent 15df9dd commit 3353d5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,8 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
19351935

19361936
return Cost;
19371937
}
1938+
case Intrinsic::experimental_vector_match:
1939+
return thisT()->getTypeBasedIntrinsicInstrCost(ICA, CostKind);
19381940
}
19391941

19401942
// Assume that we need to scalarize this intrinsic.)

0 commit comments

Comments
 (0)