R600: Fix incorrect LDS size calculation
authorTom Stellard <thomas.stellard@amd.com>
Thu, 5 Sep 2013 18:37:57 +0000 (18:37 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 5 Sep 2013 18:37:57 +0000 (18:37 +0000)
commitde60e25278b2519dbe61e0fe71b9834813681193
treeec5924a8cee1976b7958e81c6125cb28a9e0133f
parentd50bb3c8d4cad23d694e8fa96d0e22bf659894d3
R600: Fix incorrect LDS size calculation

GlobalAdderss nodes that appeared in more than one basic block were
being counted twice.

llvm-svn: 190078
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/lib/Target/R600/AMDGPUMachineFunction.h
llvm/test/CodeGen/R600/lds-size.ll [new file with mode: 0644]