OSDN Git Service

AMDGPU: Make areMemAccessesTriviallyDisjoint more aware of segment flat
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 29 Jul 2017 01:26:21 +0000 (01:26 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 29 Jul 2017 01:26:21 +0000 (01:26 +0000)
commit1ab1e79a01ede51628ef7cc853dc43a0eb012c10
tree5f3f8149a30c8122c0fa4d591e71c2ca20303033
parent27eee9a0e248e13ab112b603f926da5d8c9736d7
AMDGPU: Make areMemAccessesTriviallyDisjoint more aware of segment flat

Checking the encoding is insufficient since now there can
be global or scratch instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.h
test/CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll