summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2017-11-15 06:17:32 +0000
committerFangrui Song <maskray@google.com>2017-11-15 06:17:32 +0000
commite73534464d259d45fbb4717009d692bd7d6329d7 (patch)
tree0e880295921767f6e72d999d259a1859408ae7e6 /llvm/lib/CodeGen/MachineFunction.cpp
parent0dadfe30d2cd918b29c4e27bea499f65fcccadd7 (diff)
downloadbcm5719-llvm-e73534464d259d45fbb4717009d692bd7d6329d7.tar.gz
bcm5719-llvm-e73534464d259d45fbb4717009d692bd7d6329d7.zip
NFC Remove default argument of DataLayout::getPointerABIAlignment
Differential Revision: https://reviews.llvm.org/D40005 llvm-svn: 318272
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 570c410e1fe..0e0cbf72e72 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -852,7 +852,7 @@ unsigned MachineJumpTableInfo::getEntryAlignment(const DataLayout &TD) const {
// alignment.
switch (getEntryKind()) {
case MachineJumpTableInfo::EK_BlockAddress:
- return TD.getPointerABIAlignment();
+ return TD.getPointerABIAlignment(0);
case MachineJumpTableInfo::EK_GPRel64BlockAddress:
return TD.getABIIntegerTypeAlignment(64);
case MachineJumpTableInfo::EK_GPRel32BlockAddress:
OpenPOWER on IntegriCloud