This is an archive of the discontinued LLVM Phabricator instance.

[gold] Fix linkInModule and extend common.ll test.
ClosedPublic

Authored by eugenis on Mar 10 2016, 3:17 PM.

Details

Summary

Fix early exit from linkInModule. IRMover::move returns false on
success and true on error.

Add a few more cases of merged common linkage variables with different sizes and alignments.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis updated this revision to Diff 50364.Mar 10 2016, 3:17 PM
eugenis retitled this revision from to [gold] Extend common.ll test..
eugenis updated this object.
eugenis added a reviewer: rafael.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.
rafael edited edge metadata.Apr 24 2016, 7:29 AM
rafael added a subscriber: rafael.

Lgtm

eugenis updated this revision to Diff 54878.Apr 25 2016, 10:45 AM
eugenis retitled this revision from [gold] Extend common.ll test. to [gold] Fix linkInModule and extend common.ll test..
eugenis updated this object.
eugenis edited edge metadata.

Thanks.
This actually shows a bug in the plugin. I've added a fix to the same revision.

eugenis accepted this revision.Apr 25 2016, 11:29 AM
eugenis added a reviewer: eugenis.
This revision is now accepted and ready to land.Apr 25 2016, 11:29 AM
eugenis closed this revision.Apr 25 2016, 11:29 AM

r267437