Re: [Mesa-dev] [PATCH 2/4] i965/fs: use SSA values directly

2015-06-25 Thread Jason Ekstrand
On Thu, Jun 25, 2015 at 12:29 PM, Connor Abbott wrote: > Before, we would use registers, but set a magical "parent_instr" field > to indicate that it was actually purely an SSA value (i.e., it wasn't > involved in any phi nodes). Instead, just use SSA values directly, which > lets us get rid of th

[Mesa-dev] [PATCH 2/4] i965/fs: use SSA values directly

2015-06-25 Thread Connor Abbott
Before, we would use registers, but set a magical "parent_instr" field to indicate that it was actually purely an SSA value (i.e., it wasn't involved in any phi nodes). Instead, just use SSA values directly, which lets us get rid of the hack and reduces memory usage since we're not allocating a nir