From abf7ebec3df394a32a198e4993a9ee3ebcc4166f 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. llvm-svn: 288629 --- clang/lib/CodeGen/CGBuilder.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/lib/CodeGen/CGBuilder.h b/clang/lib/CodeGen/CGBuilder.h index d0c37b0..42f9a42 100644 --- a/clang/lib/CodeGen/CGBuilder.h +++ b/clang/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.7.4