[PATCH] D31731: [AMDGPU] Eliminate barrier if workgroup size is not greater than wavefront size

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 16:16:20 PDT 2017


rampitec added a comment.

In https://reviews.llvm.org/D31731#719632, @arsenm wrote:

> Should this replace it with a wave barrier instead of just deleting it?


I do not see what can happen to convergence after lowering, but probably it is better to replace it with wave_barrier anyway. Will do.


Repository:
  rL LLVM

https://reviews.llvm.org/D31731





More information about the llvm-commits mailing list