summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-06-03 01:59:02 +0000
committerRui Ueyama <ruiu@google.com>2014-06-03 01:59:02 +0000
commit23487e878b0bbd012a756d92b10af8769d52cd1e (patch)
tree0b0ff04241645a99f34612c404331dfdcc672fc5 /llvm/lib/Transforms/Utils/CloneModule.cpp
parentf39d914d337533a8bd1218fd1ac3e494b4e58df1 (diff)
downloadbcm5719-llvm-23487e878b0bbd012a756d92b10af8769d52cd1e.tar.gz
bcm5719-llvm-23487e878b0bbd012a756d92b10af8769d52cd1e.zip
Make dead-striping to handle reverse edges.
Layout-before edges are no longer used for layout, but they are still there for dead-stripping. If we would just remove them from code, LLD would wrongly remove live atoms that were referenced by layout-befores. This patch fixes the issue. Before dead-stripping, it scans all atoms to construct a reverse map for layout-after edges. Dead- stripping pass uses the map to traverse the graph. Differential Revision: http://reviews.llvm.org/D3986 llvm-svn: 210057
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud