HomePhabricator

[ZoneAlgo] Use getDefToTarget in makeValInst. NFC.

Description

[ZoneAlgo] Use getDefToTarget in makeValInst. NFC.

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

This reduces the compile time of GrTestUtils of the aosp buildbot from
2m46s to 21s, which should fix the timeout issue.

Differential Revision: https://reviews.llvm.org/D48579

Details

Committed
MeinersburJun 26 2018, 7:29 AM
Differential Revision
D48579: [Polly][ZoneAlgo] Use getDefToTarget in makeValInst. NFC.
Branches
Unknown
Tags
Unknown