summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-05 20:15:55 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-05 20:15:55 +0000
commitd450f06ef4243e45fb078edeffcccc21915c1247 (patch)
tree0eeac89de49ba7ea79dd4c97264ede65bc0d20aa /llvm/lib/Transforms
parente36cd72e38e1a742c79f730f968bb4f8f16f33eb (diff)
downloadbcm5719-llvm-d450f06ef4243e45fb078edeffcccc21915c1247.tar.gz
bcm5719-llvm-d450f06ef4243e45fb078edeffcccc21915c1247.zip
When we emit a non-constant initializer for a global variable of
reference type, make sure that the initializer we build is the of the appropriate type for the *reference*, not for the thing that it refers to. Fixes PR7050. llvm-svn: 103115
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud