summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore
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/XCore
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/XCore')
-rw-r--r--llvm/lib/Target/XCore/XCoreISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
index 88cf9f7d69c..fc6fd40c82e 100644
--- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp
+++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp
@@ -172,7 +172,7 @@ XCoreTargetLowering::XCoreTargetLowering(const TargetMachine &TM,
setTargetDAGCombine(ISD::INTRINSIC_W_CHAIN);
setMinFunctionAlignment(llvm::Align(2));
- setPrefFunctionLogAlignment(2);
+ setPrefFunctionAlignment(llvm::Align(4));
}
bool XCoreTargetLowering::isZExtFree(SDValue Val, EVT VT2) const {
OpenPOWER on IntegriCloud