Commits
Arnold Schwaighofer committed 82818682175
replaceBBArgWithStruct: Also handle cases where the same value is propagated
along several argument indexes
This happens for example in
func sum_array(inout A : [Int], n : Int) -> Int {
var sum = 0
for i in 0..<n {
sum = sum &+ A[i]
}
return sum
}
rdar://20863732
Swift SVN r28304