summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2019-09-30 14:44:24 +0000
committerTamas Berghammer <tberghammer@google.com>2019-09-30 14:44:24 +0000
commit421a186fb4d31ff2e0165502110731a9d752b1b3 (patch)
tree651fce221889bc8e827214c4cc602ee10e2a4331 /llvm/lib
parentbddecba4b333f7772029b4937d2c34f9f2fda6ca (diff)
downloadbcm5719-llvm-421a186fb4d31ff2e0165502110731a9d752b1b3.tar.gz
bcm5719-llvm-421a186fb4d31ff2e0165502110731a9d752b1b3.zip
Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo
Summary: Previously IntrinsicInfo::size was an unsigned what can't represent the 64 bit value used by MemoryLocation::UnknownSize. Reviewers: jmolloy Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68219 llvm-svn: 373214
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 1b313de5ccd..0c55ff73c3b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -6553,7 +6553,7 @@ SDValue SelectionDAG::getMergeValues(ArrayRef<SDValue> Ops, const SDLoc &dl) {
SDValue SelectionDAG::getMemIntrinsicNode(
unsigned Opcode, const SDLoc &dl, SDVTList VTList, ArrayRef<SDValue> Ops,
EVT MemVT, MachinePointerInfo PtrInfo, unsigned Align,
- MachineMemOperand::Flags Flags, unsigned Size, const AAMDNodes &AAInfo) {
+ MachineMemOperand::Flags Flags, uint64_t Size, const AAMDNodes &AAInfo) {
if (Align == 0) // Ensure that codegen never sees alignment 0
Align = getEVTAlignment(MemVT);
OpenPOWER on IntegriCloud