[llvm] r293720 - InferAddressSpaces: Remove dead declaration

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 15:57:21 PST 2017


Author: arsenm
Date: Tue Jan 31 17:57:20 2017
New Revision: 293720

URL: http://llvm.org/viewvc/llvm-project?rev=293720&view=rev
Log:
InferAddressSpaces: Remove dead declaration

Modified:
    llvm/trunk/lib/Transforms/Scalar/InferAddressSpaces.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/InferAddressSpaces.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InferAddressSpaces.cpp?rev=293720&r1=293719&r2=293720&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InferAddressSpaces.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InferAddressSpaces.cpp Tue Jan 31 17:57:20 2017
@@ -141,7 +141,6 @@ private:
   void inferAddressSpaces(const std::vector<Value *> &Postorder,
                           ValueToAddrSpaceMapTy *InferredAddrSpace) const;
 
-  bool handleComplexPtrUse(User &U, Value *OldV, Value *NewV) const;
   bool isSafeToCastConstAddrSpace(Constant *C, unsigned NewAS) const;
 
   // Changes the flat address expressions in function F to point to specific




More information about the llvm-commits mailing list