From: Eric Christopher Date: Fri, 23 Jul 2010 08:53:17 +0000 (+0000) Subject: Revert 109220. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6252f6ea11a05d6e4c340e7dd26e37daa29c5cc1;p=oota-llvm.git Revert 109220. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109221 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Use.h b/include/llvm/Use.h index e1ebc6a51be..2759338f42a 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -210,6 +210,30 @@ public: unsigned getOperandNo() const; }; + +template<> struct simplify_type > { + typedef User* SimpleType; + + static SimpleType getSimplifiedValue(const value_use_iterator &Val) { + return *Val; + } +}; + +template<> struct simplify_type > + : public simplify_type > {}; + +template<> struct simplify_type > { + typedef const User* SimpleType; + + static SimpleType getSimplifiedValue(const + value_use_iterator &Val) { + return *Val; + } +}; + +template<> struct simplify_type > + : public simplify_type > {}; + } // End llvm namespace #endif