summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/AddDiscriminators.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2015-11-09 16:47:16 +0000
committerOliver Stannard <oliver.stannard@arm.com>2015-11-09 16:47:16 +0000
commitc1103398f25e1332fd9d37e932c6105b664e58fc (patch)
tree161b4a450d59479b5786a6c6f63cefe0ba028e16 /llvm/lib/Transforms/Utils/AddDiscriminators.cpp
parent9c0d3f5e6f690fdf59843050fed771bdef65612c (diff)
downloadbcm5719-llvm-c1103398f25e1332fd9d37e932c6105b664e58fc.tar.gz
bcm5719-llvm-c1103398f25e1332fd9d37e932c6105b664e58fc.zip
GlobalOpt should maintain externally_initialized when splitting aggregates
When GlobalOpt splits an internal, global variable with an aggregate type, it should propagate the externally_initialized flag to the newly created globals. This makes the pass safe for our downstream use of this flag, while still allowing some useful optimisations (such as removing dead parts of the split aggregate) to be performed. Differential Revision: http://reviews.llvm.org/D13382 llvm-svn: 252490
Diffstat (limited to 'llvm/lib/Transforms/Utils/AddDiscriminators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud