summaryrefslogtreecommitdiffstats
path: root/llvm/utils/vim
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2010-01-09 16:27:31 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2010-01-09 16:27:31 +0000
commit2c4a34aeef6c6af0dce691decfbb18c6a50b556e (patch)
treecfc4cf2679f924d5fd5560528fc3ac46bc5a8ebc /llvm/utils/vim
parentf65e959035bc316faee2c84c65472cfca103aafa (diff)
downloadbcm5719-llvm-2c4a34aeef6c6af0dce691decfbb18c6a50b556e.tar.gz
bcm5719-llvm-2c4a34aeef6c6af0dce691decfbb18c6a50b556e.zip
Fixed linking of modules containing aliases to constant bitcasts. Existing behaviour first tried to replace the aliases with the global that they aliased (rather than the bitcast), causing a crash on an assert because the types didn't match. When this was fixed, it then did the same thing creating the new alias (creating an alias with a different type to its aliasee).
Linking modules containing aliases to GEPs is still not quite right. GEPs that are equivalent to bitcasts will be replaced by bitcasts, GEPs that are not will just break. Aliases to GEPs that are not equivalent to bitcasts are horribly broken anyway (it might be worth adding an assert when creating the alias to prevent these being created; they just cause problems later). llvm-svn: 93052
Diffstat (limited to 'llvm/utils/vim')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud