This is an archive of the discontinued LLVM Phabricator instance.

[Polly][ZoneAlgo] Use getDefToTarget in makeValInst. NFC.
ClosedPublic

Authored by Meinersbur on Jun 25 2018, 7:35 PM.

Details

Summary

Move the optimized getDefToTarget() from ForwardOpTree to ZoneAlgo such that it can be used by makeValInst.

This reduces the compile time of GrTestUtils from 2m46s to 21s.

Diff Detail

Repository
rL LLVM

Event Timeline

Meinersbur created this revision.Jun 25 2018, 7:35 PM
grosser accepted this revision.Jun 26 2018, 4:54 AM

Nice!

This revision is now accepted and ready to land.Jun 26 2018, 4:54 AM
Meinersbur retitled this revision from [Polly][ZoneAlgo] Use getDefToTarget in makeValInst. to [Polly][ZoneAlgo] Use getDefToTarget in makeValInst. NFC..Jun 26 2018, 7:23 AM
This revision was automatically updated to reflect the committed changes.