[AMDGPU] Mark ds instructions as meybeAtomic
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 1 Mar 2019 07:59:17 +0000 (07:59 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 1 Mar 2019 07:59:17 +0000 (07:59 +0000)
commitbb98841399aab681fd28d67c1a253fe32eabc691
tree969e0891d44cde5e801be19e0c014c0e86b13626
parent9bf43b5c261b4df6c855231905d14608687c7633
[AMDGPU] Mark ds instructions as meybeAtomic

These were not recognized as potential atomics by memory legalizer.
The test was working not because legalizer did a right thing, but
because it has skipped all these instructions. When I have fixed
DS desciption test started to fail because region address has
changed from 4 to 2 a while ago.

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

llvm-svn: 355179
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/test/CodeGen/AMDGPU/memory-legalizer-region.mir