On Fri, 22 Jul 2011 15:20:03 -0700, Ian Romanick <i...@freedesktop.org> wrote:
> I'd like to refactor that code to be more like the non-constant array
> index lowering pass.  The r-value and l-value case only differ in the
> order of the operands in the generated assignments and the optional
> if-statement wrapping.  It really should be unified.
> 
> My inclination is to convert the one missed base_ir->insert_before to a
> list.push_tail.  Does that see alright, or would you prefer it the other
> way?

Works for me.  It was the inconsistency that bugged me :)

Attachment: pgp9D4cAez2Rm.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to