[PATCH] D94895: [X86] Add experimental option to separately tune alignment of innermost loops

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 00:34:26 PST 2021


mkazantsev created this revision.
mkazantsev added reviewers: craig.topper, skatkov.
Herald added subscribers: pengfei, hiraditya.
mkazantsev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

We already have an experimental option to tune loop alignment. Its impact
is very wide (and there is a suspicion that it's not always profitable). We want
to have something more narrow to play with. This patch adds similar option that
overrides preferred alignment for innermost loops. This is for experimental
purposes, default values do not change the existing behavior.


https://reviews.llvm.org/D94895

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/innermost-loop-alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94895.317274.patch
Type: text/x-patch
Size: 3885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210118/9bc8b468/attachment.bin>


More information about the llvm-commits mailing list