mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
[Alignment][NFC] Finish transition for Loads
Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, asbirlea, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69253 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -979,7 +979,8 @@ bool MachinePointerInfo::isDereferenceable(unsigned Size, LLVMContext &C,
|
||||
return false;
|
||||
|
||||
return isDereferenceableAndAlignedPointer(
|
||||
BasePtr, 1, APInt(DL.getPointerSizeInBits(), Offset + Size), DL);
|
||||
BasePtr, Align::None(), APInt(DL.getPointerSizeInBits(), Offset + Size),
|
||||
DL);
|
||||
}
|
||||
|
||||
/// getConstantPool - Return a MachinePointerInfo record that refers to the
|
||||
|
||||
Reference in New Issue
Block a user