This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Do not construct complete LValue base info in trivial cases
ClosedPublic

Authored by kosarev on Oct 9 2017, 11:11 AM.

Details

Summary

Besides obvious code simplification, avoiding explicit creation of LValueBaseInfo objects makes it easier to make TBAA information to be part of such objects.

This is part of D38126 reworked to be a separate patch to simplify review.

Diff Detail

Repository
rL LLVM

Event Timeline

rjmccall accepted this revision.Oct 9 2017, 11:54 PM

Thanks, this is a nice improvement.

This revision is now accepted and ready to land.Oct 9 2017, 11:54 PM
This revision was automatically updated to reflect the committed changes.