Skip to content

Commit 188c97e

Browse files
committed
fix comment
1 parent 23f41dd commit 188c97e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,8 +834,8 @@ m_c_GFCmp(const Pred &P, const LHS &L, const RHS &R) {
834834
return CompareOp_match<Pred, LHS, RHS, TargetOpcode::G_FCMP, true>(P, L, R);
835835
}
836836

837-
/// Matches a register not-ed by a G_XOR.
838-
/// G_XOR %not_reg, -1
837+
/// Matches the register and immediate used in a fpclass test
838+
/// G_IS_FPCLASS %val, 96
839839
template <typename LHS, typename Test>
840840
inline ClassifyOp_match<LHS, Test, TargetOpcode::G_IS_FPCLASS>
841841
m_GIsFPClass(const LHS &L, const Test &T) {

0 commit comments

Comments
 (0)