summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2019-09-06 15:03:49 +0000
committerGuillaume Chatelet <gchatelet@google.com>2019-09-06 15:03:49 +0000
commitad1cea0ddafe7494e9726623bd08d1814c8cf19e (patch)
treeffcac94041cfd47c05512d793a1fcb94a0efa188 /llvm/lib/Target/MSP430
parent4f8d005831a0b6cedd4935579dda2ac97518e4d9 (diff)
downloadbcm5719-llvm-ad1cea0ddafe7494e9726623bd08d1814c8cf19e.tar.gz
bcm5719-llvm-ad1cea0ddafe7494e9726623bd08d1814c8cf19e.zip
[Alignment][NFC] Use Align with TargetLowering::setPrefFunctionAlignment
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: nemanjai, javed.absar, hiraditya, kbarton, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, s.egerton, pzheng, ychen, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67267 llvm-svn: 371212
Diffstat (limited to 'llvm/lib/Target/MSP430')
-rw-r--r--llvm/lib/Target/MSP430/MSP430ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
index 2d0c6197d9f..8faa3da6ec3 100644
--- a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
@@ -328,7 +328,7 @@ MSP430TargetLowering::MSP430TargetLowering(const TargetMachine &TM,
// TODO: __mspabi_srall, __mspabi_srlll, __mspabi_sllll
setMinFunctionAlignment(llvm::Align(2));
- setPrefFunctionLogAlignment(1);
+ setPrefFunctionAlignment(llvm::Align(2));
}
SDValue MSP430TargetLowering::LowerOperation(SDValue Op,
OpenPOWER on IntegriCloud