[Mesa-dev] [PATCH 2/2] glsl: Teach basic block analysis about break/continue/discard.

2013-04-23 Thread Paul Berry
Previously, the only kind of ir_jump that would terminate a basic block was return. However, the other possible types of ir_jump (break, continue, and discard) should terminate a basic block too. This patch modifies basic block analysis so that it terminates a basic block on any type of ir_jump,

Re: [Mesa-dev] [PATCH 2/2] glsl: Teach basic block analysis about break/continue/discard.

2013-04-23 Thread Matt Turner
On Tue, Apr 23, 2013 at 10:25 AM, Paul Berry stereotype...@gmail.com wrote: Previously, the only kind of ir_jump that would terminate a basic block was return. However, the other possible types of ir_jump (break, continue, and discard) should terminate a basic block too. This patch modifies

Re: [Mesa-dev] [PATCH 2/2] glsl: Teach basic block analysis about break/continue/discard.

2013-04-23 Thread Kenneth Graunke
On 04/23/2013 10:25 AM, Paul Berry wrote: Previously, the only kind of ir_jump that would terminate a basic block was return. However, the other possible types of ir_jump (break, continue, and discard) should terminate a basic block too. This patch modifies basic block analysis so that it