OSDN Git Service

[AMDGPU] Prevent too large store merges in AMDGPU Subtargets. NFCI.
authorNirav Dave <niravd@google.com>
Wed, 24 May 2017 15:59:09 +0000 (15:59 +0000)
committerNirav Dave <niravd@google.com>
Wed, 24 May 2017 15:59:09 +0000 (15:59 +0000)
commit772effdbda010869a8b330f53d343929372b7ac7
tree46536b3bd246e40f7e78401fca11e6b5768e7fef
parent9e8c6339d72d363e22fd82e5a3f7a97cb907dccf
[AMDGPU] Prevent too large store merges in AMDGPU Subtargets. NFCI.

Various address spaces on the SI and R600 subtargets have stricter
limits on memory access size that other address spaces. Use
canMergeStoresTo predicate to prevent the DAGCombiner from creating
these stores as they will be split up during legalization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/R600ISelLowering.cpp
lib/Target/AMDGPU/R600ISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.h