summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGBuilder.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-12-05 00:02:18 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-12-05 00:02:18 +0000
commit5dca580b2f95f82e2b8640c48ce217f46078ac71 (patch)
treef2186c65fb46947efd0e2fcd934c5d1f94774446 /lib/CodeGen/CGBuilder.h
parentfc454719b46cd00a5877958cd1cb9097e4f0472c (diff)
IRGen: Remove an unused overload of CreateAlignedLoad.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBuilder.h')
-rw-r--r--lib/CodeGen/CGBuilder.h5
1 files changed, 0 insertions, 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.