diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-09-06 14:51:15 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-09-06 14:51:15 +0000 |
commit | 9fcf066d0cd2fc283e410acc19b110c90f43e26c (patch) | |
tree | ab029a5c72bace85b998ddef43ee6a4102e251dc /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | f1d33842b9d0701bf31a51c21c8bf9af5dd79138 (diff) | |
download | bcm5719-llvm-9fcf066d0cd2fc283e410acc19b110c90f43e26c.tar.gz bcm5719-llvm-9fcf066d0cd2fc283e410acc19b110c90f43e26c.zip |
[Alignment][NFC] Use Align with TargetLowering::setPrefLoopAlignment
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, hiraditya, kbarton, MaskRay, jsji, ychen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67278
llvm-svn: 371210
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-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 7d51b6c89d8..1ed32000432 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -1200,7 +1200,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, case PPC::DIR_PWR8: case PPC::DIR_PWR9: setPrefFunctionLogAlignment(4); - setPrefLoopLogAlignment(4); + setPrefLoopAlignment(llvm::Align(16)); break; } |