This is an archive of the discontinued LLVM Phabricator instance.

Cast vtable address points to i32 (...)** to enable more globalopt
ClosedPublic

Authored by rnk on Oct 22 2014, 10:44 AM.

Details

Summary

We currently use i32 (...)** as the type of the vptr field in the LLVM
struct type. LLVM's GlobalOpt prefers any bitcasts to be on the side of
the data being stored rather than on the pointer being stored to.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk updated this revision to Diff 15260.Oct 22 2014, 10:44 AM
rnk retitled this revision from to Cast vtable address points to i32 (...)** to enable more globalopt.
rnk updated this object.
rnk added reviewers: majnemer, nlewycky.
rnk added a subscriber: Unknown Object (MLST).
majnemer accepted this revision.Oct 22 2014, 4:21 PM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 22 2014, 4:21 PM
rnk closed this revision.Dec 3 2014, 1:01 PM
rnk updated this revision to Diff 16885.

Closed by commit rL223267 (authored by @rnk).