summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
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/X86
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/X86')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 9e249caea4b..5160a314074 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -1899,7 +1899,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
// but a conditional move could be stalled by an expensive earlier operation.
PredictableSelectIsExpensive = Subtarget.getSchedModel().isOutOfOrder();
EnableExtLdPromotion = true;
- setPrefFunctionLogAlignment(4); // 2^4 bytes.
+ setPrefFunctionAlignment(llvm::Align(16));
verifyIntrinsicTables();
}
OpenPOWER on IntegriCloud