The patch LGTM.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Guo Yejun
> Sent: Monday, September 7, 2015 5:27
> To: beignet@lists.freedesktop.org
> Cc: Guo, Yejun
> Subject: [Beignet] [PATCH 2/3] add basic struc
The idea is that many optimzations can be done at selection IR level,
which is nearly ISA-like *before* physical register allocation. The
optimization here can help to reduce register use/spill.
It is hard to do the optimzation in late ASM stage since the ASM
instructions are encoded without struc