commit | d3cf783ed12c8e658598a1a9173a27ea8481073b | [log] [tgz] |
---|---|---|
author | Juergen Ributzka <juergen@apple.com> | Fri Mar 21 06:04:45 2014 +0000 |
committer | Juergen Ributzka <juergen@apple.com> | Fri Mar 21 06:04:45 2014 +0000 |
tree | b9ff8de7419efe9b43a7d1c407b4c8d05f6e1f2a | |
parent | 337eb3adbed6d1ba790555bd3a0dc2d02d2345bc [diff] |
[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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204435 91177308-0d34-0410-b5e6-96231b3b80d8