[AArch64] Further enable UnrollAndJam
authorNicholas Guy <nicholas.guy@arm.com>
Wed, 26 May 2021 13:49:58 +0000 (14:49 +0100)
committerNicholas Guy <nicholas.guy@arm.com>
Fri, 4 Jun 2021 13:18:49 +0000 (14:18 +0100)
commit3043cbc4363ad16f897052a05ac364e5f8ef3770
treed7c6a07f147357e46da76db594992c77aa6ee576
parentb5dea8701ba98425991d4f1ec3d87bdb98789e04
[AArch64] Further enable UnrollAndJam

Due to the dependency on runtime unrolling, UnJ is only
enabled by default on in-order scheduling models,
and if a cpu is specified through -mcpu.

Differential Revision: https://reviews.llvm.org/D103604
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/CodeGen/AArch64/aarch64-unroll-and-jam.ll [new file with mode: 0644]