AMDGPU/GlobalISel: Select atomic loads
commit5cc24bdc92e3b4141b749c90ee47656cd74bd199
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 9 Sep 2019 16:18:07 +0000 (9 16:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 9 Sep 2019 16:18:07 +0000 (9 16:18 +0000)
tree91868eda2f9b9570eb3bccdc6eac9548ddf6280f
parentbdb8e142df11a0a111251ac77c8ec0763fa5d7cf
AMDGPU/GlobalISel: Select atomic loads

A new check for an explicitly atomic MMO is needed to avoid
incorrectly matching pattern for non-atomic loads

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371418 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/GlobalISel/SelectionDAGCompat.td
lib/Target/AMDGPU/AMDGPUGISel.td
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-flat.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-global.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-local.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
utils/TableGen/GlobalISelEmitter.cpp