]> granicus.if.org Git - clang/commitdiff
IRGen: Remove an unused overload of CreateAlignedLoad.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 5 Dec 2016 00:02:18 +0000 (00:02 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 5 Dec 2016 00:02:18 +0000 (00:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288629 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBuilder.h

index d0c37b039f6cc94ffb9641d51ae57140b42e097b..42f9a428bb3a70fc417bff86f8f4a4cbfbdebc38 100644 (file)
@@ -102,11 +102,6 @@ public:
     assert(Addr->getType()->getPointerElementType() == Ty);
     return CreateAlignedLoad(Addr, Align.getQuantity(), Name);
   }
-  llvm::LoadInst *CreateAlignedLoad(llvm::Value *Addr, CharUnits Align,
-                                    bool IsVolatile,
-                                    const llvm::Twine &Name = "") {
-    return CreateAlignedLoad(Addr, Align.getQuantity(), IsVolatile, Name);
-  }
 
   // Note that we intentionally hide the CreateStore APIs that don't
   // take an alignment.