OSDN Git Service

[AMDGPU] Do not consider indirect acces through phi for wave limiter
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 11 Jun 2018 16:50:49 +0000 (16:50 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 11 Jun 2018 16:50:49 +0000 (16:50 +0000)
commit7a3f751cbc0d9be18d92ec1b6917ced4f0cd84b8
tree0bff2fae9df6514564f2b0601b3c476a37ea4232
parent85edf48b76e6e793858fa6ced81bdd58c27d71d3
[AMDGPU] Do not consider indirect acces through phi for wave limiter

Rational: if there is indirect access that is usually an issue
because load is not ready by the use. However, if use is inside a
loop and load is outside that is potentially an issue for a first
iteration only.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
test/CodeGen/AMDGPU/perfhint.ll