On Fri, Oct 2, 2015 at 1:26 PM, Connor Abbott wrote:
> On Fri, Oct 2, 2015 at 12:56 PM, Matt Turner wrote:
>> On Fri, Oct 2, 2015 at 9:28 AM, Connor Abbott wrote:
>>> Some loops may have phi nodes that look like:
>>>
>>> foo = ...
>>> loop {
>>> bar = phi(foo, bar)
>>> ...
>>> }
>>>
>>>
On Fri, Oct 2, 2015 at 12:56 PM, Matt Turner wrote:
> On Fri, Oct 2, 2015 at 9:28 AM, Connor Abbott wrote:
>> Some loops may have phi nodes that look like:
>>
>> foo = ...
>> loop {
>> bar = phi(foo, bar)
>> ...
>> }
>>
>> in which case we can remove the phi node and replace all uses of '
On Fri, Oct 2, 2015 at 9:28 AM, Connor Abbott wrote:
> Some loops may have phi nodes that look like:
>
> foo = ...
> loop {
> bar = phi(foo, bar)
> ...
> }
>
> in which case we can remove the phi node and replace all uses of 'bar'
> with 'foo'. In particular, there are some L4D2 vertex sha
Some loops may have phi nodes that look like:
foo = ...
loop {
bar = phi(foo, bar)
...
}
in which case we can remove the phi node and replace all uses of 'bar'
with 'foo'. In particular, there are some L4D2 vertex shaders with loops
that, after optimization, look like:
/* succs:
On Thu, May 21, 2015 at 5:07 PM, Connor Abbott wrote:
> Some loops may have phi nodes that look like:
>
> foo = ...
> loop {
> bar = phi(foo, bar)
> ...
> }
>
> in which case we can remove the phi node and replace all uses of 'bar'
> with 'foo'. In particular, there are some L4D2 vertex sh
This looks totally sane to me.
Reviewed-by: Jason Ekstrand
I'll try and get some shader-db numbers for you tomorrow.
--Jason
On May 21, 2015 5:07 PM, "Connor Abbott" wrote:
>
> Some loops may have phi nodes that look like:
>
> foo = ...
> loop {
> bar = phi(foo, bar)
> ...
> }
>
> in w
Some loops may have phi nodes that look like:
foo = ...
loop {
bar = phi(foo, bar)
...
}
in which case we can remove the phi node and replace all uses of 'bar'
with 'foo'. In particular, there are some L4D2 vertex shaders with loops
that, after optimization, look like:
/* succs: