Skip to content

Commit 77e3100

Browse files
committed
[DAG] SDPatternMatch::m_SetCC - rename operands. NFC.
Rename operands to make it easier to remember what they each represent.
1 parent b320d37 commit 77e3100

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/include/llvm/CodeGen/SDPatternMatch.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,16 +478,16 @@ struct TernaryOpc_match {
478478

479479
template <typename T0_P, typename T1_P, typename T2_P>
480480
inline TernaryOpc_match<T0_P, T1_P, T2_P, false, false>
481-
m_SetCC(const T0_P &Op0, const T1_P &Op1, const T2_P &Op2) {
482-
return TernaryOpc_match<T0_P, T1_P, T2_P, false, false>(ISD::SETCC, Op0, Op1,
483-
Op2);
481+
m_SetCC(const T0_P &LHS, const T1_P &RHS, const T2_P &CC) {
482+
return TernaryOpc_match<T0_P, T1_P, T2_P, false, false>(ISD::SETCC, LHS, RHS,
483+
CC);
484484
}
485485

486486
template <typename T0_P, typename T1_P, typename T2_P>
487487
inline TernaryOpc_match<T0_P, T1_P, T2_P, true, false>
488-
m_c_SetCC(const T0_P &Op0, const T1_P &Op1, const T2_P &Op2) {
489-
return TernaryOpc_match<T0_P, T1_P, T2_P, true, false>(ISD::SETCC, Op0, Op1,
490-
Op2);
488+
m_c_SetCC(const T0_P &LHS, const T1_P &RHS, const T2_P &CC) {
489+
return TernaryOpc_match<T0_P, T1_P, T2_P, true, false>(ISD::SETCC, LHS, RHS,
490+
CC);
491491
}
492492

493493
// === Binary operations ===

0 commit comments

Comments
 (0)