R600: Fix mishandling of load / store chains.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Jul 2014 18:34:45 +0000 (18:34 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 7 Jul 2014 18:34:45 +0000 (18:34 +0000)
commit0e1619e77c05ef251f1bb3cabc5dd76d46e5d943
tree9ec0414434cdc0d5183a8af8c43dedfd247c8276
parent7b1c5f52b0f83515e104f8352c4c1cb0a6424905
R600: Fix mishandling of load / store chains.

Fixes various bugs with reordering loads and stores.
Scalarized vector loads weren't collecting the chains
at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212473 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/R600ISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/reorder-stores.ll [new file with mode: 0644]