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 13f9db2 commit 88d1b05Copy full SHA for 88d1b05
llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
@@ -608,6 +608,11 @@ template <Intrinsic::ID IntrID> inline IntrinsicID_match m_Intrinsic() {
608
return IntrinsicID_match(IntrID);
609
}
610
611
+/// Match intrinsic calls with a runtime intrinsic ID.
612
+inline IntrinsicID_match m_Intrinsic(Intrinsic::ID IntrID) {
613
+ return IntrinsicID_match(IntrID);
614
+}
615
+
616
template <Intrinsic::ID IntrID, typename T0>
617
inline typename m_Intrinsic_Ty<T0>::Ty m_Intrinsic(const T0 &Op0) {
618
return m_CombineAnd(m_Intrinsic<IntrID>(), m_Argument<0>(Op0));
0 commit comments