Skip to content

Commit 16e0bad

Browse files
committed
Intro m_Reverse
1 parent 3289569 commit 16e0bad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,12 @@ m_LastActiveLane(const Op0_t &Op0) {
462462
return m_VPInstruction<VPInstruction::LastActiveLane>(Op0);
463463
}
464464

465+
template <typename Op0_t>
466+
inline VPInstruction_match<VPInstruction::Reverse, Op0_t>
467+
m_Reverse(const Op0_t &Op0) {
468+
return m_VPInstruction<VPInstruction::Reverse>(Op0);
469+
}
470+
465471
inline VPInstruction_match<VPInstruction::StepVector> m_StepVector() {
466472
return m_VPInstruction<VPInstruction::StepVector>();
467473
}

0 commit comments

Comments
 (0)