[AArch64] Re-run load/store optimizer after aggressive tail duplication
commit7ba7fb5aba20214978b1f7361ac20f2050eef5c2
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Mon, 17 Dec 2018 10:45:43 +0000 (17 10:45 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Mon, 17 Dec 2018 10:45:43 +0000 (17 10:45 +0000)
tree6f9a69d4da21617ca43a590fed3291807cf22dd0
parentd8c8e16eb8d8519ffd9ecd6912f89aaf0472ecfb
[AArch64] Re-run load/store optimizer after aggressive tail duplication

The Load/Store Optimizer runs before Machine Block Placement. At O3 the
Tail Duplication Threshold is set to 4 instructions and this can create
new opportunities for the Load/Store Optimizer. It seems worthwhile to
run it once again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349338 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64TargetMachine.cpp
test/CodeGen/AArch64/O3-pipeline.ll
test/CodeGen/AArch64/ldst-opt-after-block-placement.ll [new file with mode: 0644]