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)
commitd2c9e08b63a86a303b0045178332d30715a2902e
treebd7cfb17b7bf6936441ef4997c62698696243d55
parentfda9dad17f535f9522b6c667767fe01046998b98
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.

llvm-svn: 212473
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/lib/Target/R600/R600ISelLowering.cpp
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/test/CodeGen/R600/reorder-stores.ll [new file with mode: 0644]