Fix typo that caused build failures for things trying to use m_Or.
authorChris Lattner <sabre@nondot.org>
Mon, 13 Feb 2006 23:06:39 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Feb 2006 23:06:39 +0000 (23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26153 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PatternMatch.h

index 9a225dfeab59edb11074c0d0b63289628c3a829c..d15ae9c498663f1320be340cc12c7a08e7677cd0 100644 (file)
@@ -130,8 +130,8 @@ inline BinaryOp_match<LHS, RHS, Instruction::And> m_And(const LHS &L,
 }
 
 template<typename LHS, typename RHS>
-inline BinaryOp_match<LHS, RHS, Instruction::Rem> m_Or(const LHS &L,
-                                                       const RHS &R) {
+inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L,
+                                                      const RHS &R) {
   return BinaryOp_match<LHS, RHS, Instruction::Or>(L, R);
 }