diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-09-06 12:48:34 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-09-06 12:48:34 +0000 |
commit | 4fc3ad9e1359ea1b9e5b923a08af400a5d680cef (patch) | |
tree | a29c92cc7790104ee7424832fa4a1f0d2a76e518 /llvm/lib/Target/Sparc/SparcISelLowering.cpp | |
parent | d409408e3172c85c4f41a2c2f7727903c5dff8c5 (diff) | |
download | bcm5719-llvm-4fc3ad9e1359ea1b9e5b923a08af400a5d680cef.tar.gz bcm5719-llvm-4fc3ad9e1359ea1b9e5b923a08af400a5d680cef.zip |
[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
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: jyknight, sdardis, nemanjai, javed.absar, hiraditya, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, jsji, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67229
llvm-svn: 371200
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp index cfd6a72d364..660c5298d37 100644 --- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp +++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp @@ -1805,7 +1805,7 @@ SparcTargetLowering::SparcTargetLowering(const TargetMachine &TM, setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom); - setMinFunctionLogAlignment(2); + setMinFunctionAlignment(llvm::Align(4)); computeRegisterProperties(Subtarget->getRegisterInfo()); } |