GlobalISel: Don't reduce elements for atomic load/store
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 27 Jan 2019 22:36:24 +0000 (22:36 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 27 Jan 2019 22:36:24 +0000 (22:36 +0000)
commitcfca2a7adfce4fb166773a4122a067726a3beefc
tree300d434ce34a476a3f6a3c93734d2cd9e586e2b0
parentebe6b43aecc7d784a66afc63d746b106052ba7e3
GlobalISel: Don't reduce elements for atomic load/store

This is invalid for the same reason as in the narrowScalar handling
for load.

llvm-svn: 352334
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/no-legalize-atomic.mir [new file with mode: 0644]