projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acef496
)
[AArch64] Temporarily use getPointerElementType to fix -Wdeprecated-declarations...
author
Fangrui Song
<i@maskray.me>
Tue, 1 Feb 2022 03:16:11 +0000
(19:16 -0800)
committer
Fangrui Song
<i@maskray.me>
Tue, 1 Feb 2022 03:16:11 +0000
(19:16 -0800)
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index
e943505
..
eba73fd
100644
(file)
--- a/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@
-11933,7
+11933,7
@@
bool AArch64TargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
Info.memVT = MVT::getVT(Val->getType());
Info.ptrVal = Dst;
Info.offset = 0;
- Info.align = DL.getABITypeAlign(PtrTy->getElementType());
+ Info.align = DL.getABITypeAlign(PtrTy->get
Pointer
ElementType());
Info.flags = MachineMemOperand::MOStore;
// The size of the memory being operated on is unknown at this point
Info.size = MemoryLocation::UnknownSize;