nir: Rename opt_undef_alu to opt_undef_csel; update comments.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Apr 2016 08:15:53 +0000 (01:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 5 May 2016 21:24:00 +0000 (14:24 -0700)
commit49ea7454a189d9ebfa03fddfdba9949c6eaf4caa
tree3f0dc558592fdf903c937d0dadbb164254761399
parenta808ba59657b3e5c6399e51fa1f4ebe9cad201a9
nir: Rename opt_undef_alu to opt_undef_csel; update comments.

This better reflects what it does.  I plan to add other ALU
optimizations as well, so the old name would be confusing.

In preparation for that, also move the file comments about csels
above the opt_undef_csel function, and delete the ones about there
not being other optimizations.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir_opt_undef.c