]> granicus.if.org Git - llvm/commit
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)
commitd0b56c0be64ca68cc757cadbc6033f2f9e5aed6c
tree05022a61278cb7376ef0fddda8b8e5881485d3ee
parent06340db3fce25f6a9335234a5b25d711f78b1501
GlobalISel: Don't reduce elements for atomic load/store

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
test/CodeGen/AMDGPU/GlobalISel/no-legalize-atomic.mir [new file with mode: 0644]