Skip to content

Commit adef7d6

Browse files
committed
Intro m_Reverse
1 parent 2a258a5 commit adef7d6

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
@@ -454,6 +454,12 @@ m_LastActiveLane(const Op0_t &Op0) {
454454
return m_VPInstruction<VPInstruction::LastActiveLane>(Op0);
455455
}
456456

457+
template <typename Op0_t>
458+
inline VPInstruction_match<VPInstruction::Reverse, Op0_t>
459+
m_Reverse(const Op0_t &Op0) {
460+
return m_VPInstruction<VPInstruction::Reverse>(Op0);
461+
}
462+
457463
inline VPInstruction_match<VPInstruction::StepVector> m_StepVector() {
458464
return m_VPInstruction<VPInstruction::StepVector>();
459465
}

0 commit comments

Comments
 (0)