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/PowerPC | |
| 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/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index c7fc7d87ad4..7d51b6c89d8 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -1180,7 +1180,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, setJumpIsExpensive(); } - setMinFunctionLogAlignment(2); + setMinFunctionAlignment(llvm::Align(4)); if (Subtarget.isDarwin()) setPrefFunctionLogAlignment(4); |

