Re: [Mesa-dev] [PATCH 10/10] i965/nir: Use Global Code Motion

2015-02-05 Thread Jason Ekstrand
On Feb 5, 2015 5:12 PM, "Connor Abbott" wrote: > > Maybe we should run this after DCE so that we don't do unnecessary > work by scheduling stuff that we then delete. Yeah, I thought about that. Also, this has interesting interactions with the select peephole. I think more analysis is needed bef

Re: [Mesa-dev] [PATCH 10/10] i965/nir: Use Global Code Motion

2015-02-05 Thread Connor Abbott
Maybe we should run this after DCE so that we don't do unnecessary work by scheduling stuff that we then delete. On Thu, Feb 5, 2015 at 5:29 PM, Jason Ekstrand wrote: > --- > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/mesa/drivers/dri/

[Mesa-dev] [PATCH 10/10] i965/nir: Use Global Code Motion

2015-02-05 Thread Jason Ekstrand
--- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index c3c268c..ba03291 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_f