[llvm-commits] [SignlessTypes] CVS: llvm/include/llvm/Support/PatternMatch.h

Zhou Sheng zhousheng00 at gmail.com
Sun Oct 29 00:36:12 PDT 2006



Changes in directory llvm/include/llvm/Support:

PatternMatch.h updated: 1.9.2.3 -> 1.9.2.4
---
Log message:



---
Diffs of the changes:  (+6 -5)

 PatternMatch.h |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/Support/PatternMatch.h
diff -u llvm/include/llvm/Support/PatternMatch.h:1.9.2.3 llvm/include/llvm/Support/PatternMatch.h:1.9.2.4
--- llvm/include/llvm/Support/PatternMatch.h:1.9.2.3	Mon Oct 23 13:13:26 2006
+++ llvm/include/llvm/Support/PatternMatch.h	Sun Oct 29 01:35:49 2006
@@ -123,6 +123,12 @@
   return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R);
 }
 
+template<typename LHS, typename RHS>
+inline BinaryOp_match<LHS, RHS, Instruction::FDiv> m_FDiv(const LHS &L,
+                                                        const RHS &R) {
+  return BinaryOp_match<LHS, RHS, Instruction::FDiv>(L, R);
+}
+
 // SignlessType Revision: here we replace m_Rem with m_URem and add m_SRem
 // for SRem which is signed Rem.
 template<typename LHS, typename RHS>
@@ -136,11 +142,6 @@
                                                           const RHS &R) {
   return BinaryOp_match<LHS, RHS, Instruction::SRem>(L, R);
 }
-template<typename LHS, typename RHS>
-inline BinaryOp_match<LHS, RHS, Instruction::FDiv> m_FDiv(const LHS &L,
-                                                        const RHS &R) {
-  return BinaryOp_match<LHS, RHS, Instruction::FDiv>(L, R);
-}
 
 template<typename LHS, typename RHS>
 inline BinaryOp_match<LHS, RHS, Instruction::FRem> m_FRem(const LHS &L,






More information about the llvm-commits mailing list