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

Reid Spencer reid at x10sys.com
Sun Oct 22 01:59:31 PDT 2006



Changes in directory llvm/include/llvm/Support:

PatternMatch.h updated: 1.9.2.1 -> 1.9.2.2
---
Log message:

Implement the FDIV instruction for floating point divide.


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

 PatternMatch.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Support/PatternMatch.h
diff -u llvm/include/llvm/Support/PatternMatch.h:1.9.2.1 llvm/include/llvm/Support/PatternMatch.h:1.9.2.2
--- llvm/include/llvm/Support/PatternMatch.h:1.9.2.1	Thu Oct 19 23:27:17 2006
+++ llvm/include/llvm/Support/PatternMatch.h	Sun Oct 22 03:59:00 2006
@@ -124,6 +124,12 @@
 }
 
 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::Rem> m_Rem(const LHS &L,
                                                         const RHS &R) {
   return BinaryOp_match<LHS, RHS, Instruction::Rem>(L, R);






More information about the llvm-commits mailing list