OSDN Git Service

[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)
commit07f122bad7cfb230d90e4b4d2f8cff53caa348ce
tree2d052341d172aec7266235743ef04f9ec52f9581
parentdc91c2fed3e6458f9535d89f62b1ee277b70bee5
[AMDGPU] Ask subtarget if waitcnt instruction is needed before barrier instruction

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282875 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIInsertWaits.cpp