i965/fs: rename our lower_d2f pass to lower_d2x

Since it no longer handles conversions from double to float but from
double to various other 32-bit types.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Iago Toral Quiroga 2016-01-18 11:31:36 +01:00 committed by Samuel Iglesias Gonsálvez
parent efaf62a40a
commit 9741cff1ec
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ i965_compiler_FILES = \
brw_fs.h \
brw_fs_live_variables.cpp \
brw_fs_live_variables.h \
brw_fs_lower_d2f.cpp \
brw_fs_lower_d2x.cpp \
brw_fs_lower_pack.cpp \
brw_fs_nir.cpp \
brw_fs_reg_allocate.cpp \

View file

@ -5359,7 +5359,7 @@ fs_visitor::optimize()
OPT(dead_code_eliminate);
}
if (OPT(lower_d2f)) {
if (OPT(lower_d2x)) {
OPT(opt_copy_propagate);
OPT(dead_code_eliminate);
}

View file

@ -174,7 +174,7 @@ public:
void lower_uniform_pull_constant_loads();
bool lower_load_payload();
bool lower_pack();
bool lower_d2f();
bool lower_d2x();
bool lower_logical_sends();
bool lower_integer_multiplication();
bool lower_minmax();

View file

@ -28,7 +28,7 @@
using namespace brw;
bool
fs_visitor::lower_d2f()
fs_visitor::lower_d2x()
{
bool progress = false;