[Constant Hoisting] Make the constant materialization cost operand dependent

Description

[Constant Hoisting] Make the constant materialization cost operand dependent

Extend the target hook to take also the operand index into account when
calculating the cost of the constant materialization.

Related to rdar://problem/16381500

Details

Committed
ributzkaMar 20 2014, 11:04 PM
Parents
rL204434: [Constant Hoisting] Lazily compute the idom and cache the result.
Branches
Unknown
Tags
Unknown