IRGen: Remove an unused overload of CreateAlignedLoad.

llvm-svn: 288629
This commit is contained in:
Peter Collingbourne 2016-12-05 00:02:18 +00:00
parent 6133fc3aa2
commit abf7ebec3d
1 changed files with 0 additions and 5 deletions

View 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.