rampitec requested changes to this revision. rampitec added a comment. This revision now requires changes to proceed. According to the showed ISA for barrier with global and local memory fence this pass produces incorrect code. Please fix. https://reviews.llvm.org/D31161