summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/UnreachableBlockElim.cpp
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2012-11-16 21:03:47 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2012-11-16 21:03:47 +0000
commit898a0a02bb67ee1a4eb328fa14e72daed271a969 (patch)
tree60d32d723255880ebd42a8cd54f0e0c74478dea9 /llvm/lib/CodeGen/UnreachableBlockElim.cpp
parentd7d8c09b93db9818856844f926c3e1cec56ae857 (diff)
downloadbcm5719-llvm-898a0a02bb67ee1a4eb328fa14e72daed271a969.tar.gz
bcm5719-llvm-898a0a02bb67ee1a4eb328fa14e72daed271a969.zip
Preserve address space of forward-referenced global variables in the LL parser
Before, the parser would assert on the following code: @a2 = global i8 addrspace(1)* @a @a = addrspace(1) global i8 0 because the type of @a was "i8*" instead of "i8 addrspace(1)*" when parsing the initializer for @a2. llvm-svn: 168197
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud