ir_dereference_array always operates on an r-value
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Jun 2010 20:50:27 +0000 (13:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Jun 2010 20:50:27 +0000 (13:50 -0700)
commit384c051b8c7a53aa805836723bd43f2d496303ff
treecb608443f154a9e14899b437e0eca07ca0870fef
parent35159b542c793e607a28bbffb12ab51e1081ca9b
ir_dereference_array always operates on an r-value

ir_dereference_array::array is always an r-value.  If the dereference
is of a varaible, that r-value will be an ir_dereference_variable.
This simplifies the code a bit.
ir_vec_index_to_swizzle.cpp