Skip to content
Commit fe3f4e6e authored by Chris Lattner's avatar Chris Lattner
Browse files

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

llvm-svn: 17727
parent 8076a5de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment