commit | d878ecd904e4469344a2274f9784422c2c68b81c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 14 05:00:19 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 14 05:00:19 2004 +0000 |
tree | eb5524053a131bd0ba9e3b9248a975ac530203cf | |
parent | 6c84e795ea968d7ece231367cb8e5535429199d5 [diff] |
Teach SROA how to promote an array index that is variable, if the dimension of the array is just two. This occurs 8 times in gcc, 6 times in crafty, and 12 times in 099.go. This implements ScalarRepl/sroa_two.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17727 91177308-0d34-0410-b5e6-96231b3b80d8