This is an archive of the discontinued LLVM Phabricator instance.

[X86] In X86DomainReassignment.cpp add enclosed registers to EnclosedEdges
ClosedPublic

Authored by Carrot on Feb 25 2019, 2:38 PM.

Details

Summary

The variable X86DomainReassignment::EnclosedEdges is used to store registers that have been enclosed in some closure, so those registers will be ignored when create new closures. But there is no registers has ever been put into this set, so a single register can be enclosed in multiple closures, it significantly increase compile time.

This patch adds a register into EnclosedEdges when it is enclosed into a closure.

Diff Detail

Repository
rL LLVM

Event Timeline

Carrot created this revision.Feb 25 2019, 2:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2019, 2:38 PM
This revision is now accepted and ready to land.Mar 4 2019, 11:27 AM
This revision was automatically updated to reflect the committed changes.