From 5dca580b2f95f82e2b8640c48ce217f46078ac71 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 5 Dec 2016 00:02:18 +0000 Subject: [PATCH] IRGen: Remove an unused overload of CreateAlignedLoad. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288629 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGBuilder.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/CodeGen/CGBuilder.h b/lib/CodeGen/CGBuilder.h index d0c37b039f..42f9a428bb 100644 --- a/lib/CodeGen/CGBuilder.h +++ b/lib/CodeGen/CGBuilder.h @@ -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. -- 2.40.0