OSDN Git Service

AMDGPU: IMPLICIT_DEFs and DBG_VALUEs do not contribute to wait states
authorNicolai Haehnle <nhaehnle@gmail.com>
Fri, 1 Sep 2017 16:56:32 +0000 (16:56 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Fri, 1 Sep 2017 16:56:32 +0000 (16:56 +0000)
commit96b6414540fe7cdbb410ba0bce5e475a8f06f224
treef468194905d5b6d1f1e32a1009a6438b8ea77fdb
parentfc13e6650946800f438577417b15f3679d9af4c6
AMDGPU: IMPLICIT_DEFs and DBG_VALUEs do not contribute to wait states

Summary:
This fixes a bug that was exposed on gfx9 in various
GL45-CTS.shaders.loops.*_iterations.select_iteration_count_fragment tests,
e.g. GL45-CTS.shaders.loops.do_while_uniform_iterations.select_iteration_count_fragment

Reviewers: arsenm

Subscribers: kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312337 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/GCNHazardRecognizer.cpp
test/CodeGen/AMDGPU/hazard.mir [new file with mode: 0644]