[AMDGPU] Ask subtarget if waitcnt instruction is needed before barrier instruction
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 30 Sep 2016 16:50:36 +0000 (16:50 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 30 Sep 2016 16:50:36 +0000 (16:50 +0000)
commitd7bdf24f32b7f7b7fe81ff38b51d94478a6e3e87
treef883a841876d2eb8fdbff02699f15e2b0eecc1cd
parent51f514d853183f226af7a7c68730e4a0507c171f
[AMDGPU] Ask subtarget if waitcnt instruction is needed before barrier instruction

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

llvm-svn: 282875
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/lib/Target/AMDGPU/SIInsertWaits.cpp