i965/fs: rename lower_d2x to lower_conversions

v2:
- Change the name to lower_conversions.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Samuel Iglesias Gonsálvez
2017-03-14 08:17:36 +01:00
committed by Francisco Jerez
parent dee31311eb
commit af6fc3a8ea
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ COMPILER_FILES = \
compiler/brw_fs.h \ compiler/brw_fs.h \
compiler/brw_fs_live_variables.cpp \ compiler/brw_fs_live_variables.cpp \
compiler/brw_fs_live_variables.h \ compiler/brw_fs_live_variables.h \
compiler/brw_fs_lower_d2x.cpp \ compiler/brw_fs_lower_conversions.cpp \
compiler/brw_fs_lower_pack.cpp \ compiler/brw_fs_lower_pack.cpp \
compiler/brw_fs_nir.cpp \ compiler/brw_fs_nir.cpp \
compiler/brw_fs_reg_allocate.cpp \ compiler/brw_fs_reg_allocate.cpp \

View File

@@ -5740,7 +5740,7 @@ fs_visitor::optimize()
OPT(dead_code_eliminate); OPT(dead_code_eliminate);
} }
if (OPT(lower_d2x)) { if (OPT(lower_conversions)) {
OPT(opt_copy_propagation); OPT(opt_copy_propagation);
OPT(dead_code_eliminate); OPT(dead_code_eliminate);
OPT(lower_simd_width); OPT(lower_simd_width);

View File

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

View File

@@ -44,7 +44,7 @@ supports_type_conversion(const fs_inst *inst) {
} }
bool bool
fs_visitor::lower_d2x() fs_visitor::lower_conversions()
{ {
bool progress = false; bool progress = false;