]> granicus.if.org Git - llvm/commit
[AArch64][Falkor] Avoid HW prefetcher tag collisions (step 2)
authorGeoff Berry <gberry@codeaurora.org>
Tue, 18 Jul 2017 16:14:22 +0000 (16:14 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Tue, 18 Jul 2017 16:14:22 +0000 (16:14 +0000)
commit2071889dd30aa68fc19e99ebfa11513b4dbedd5c
tree2d1c25d305fa5ec0088499f21d89f825524686ee
parent1496f5a0f1ce805e4583d4a17a3523ee38e9363e
[AArch64][Falkor] Avoid HW prefetcher tag collisions (step 2)

Summary:
Avoid HW prefetcher instruction tag collisions in loops by inserting
MOVs to change the base address register of strided loads.

Reviewers: t.p.northover, mcrosier

Subscribers: aemerson, rengolin, javed.absar, kristof.beyls, hfinkel, llvm-commits

Differential Revision: https://reviews.llvm.org/D35366

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64.h
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
test/CodeGen/AArch64/falkor-hwpf-fix.ll [new file with mode: 0644]
test/CodeGen/AArch64/falkor-hwpf-fix.mir [new file with mode: 0644]