From af6fc3a8ea27368ba70338437e27e3c2b522b27b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20Iglesias=20Gons=C3=A1lvez?= Date: Tue, 14 Mar 2017 08:17:36 +0100 Subject: [PATCH] i965/fs: rename lower_d2x to lower_conversions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit v2: - Change the name to lower_conversions. Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Francisco Jerez --- src/intel/Makefile.sources | 2 +- src/intel/compiler/brw_fs.cpp | 2 +- src/intel/compiler/brw_fs.h | 2 +- .../{brw_fs_lower_d2x.cpp => brw_fs_lower_conversions.cpp} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/intel/compiler/{brw_fs_lower_d2x.cpp => brw_fs_lower_conversions.cpp} (99%) diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources index d7bc09ef7a8..0d446614c62 100644 --- a/src/intel/Makefile.sources +++ b/src/intel/Makefile.sources @@ -46,7 +46,7 @@ COMPILER_FILES = \ compiler/brw_fs.h \ compiler/brw_fs_live_variables.cpp \ 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_nir.cpp \ compiler/brw_fs_reg_allocate.cpp \ diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 8eb8789905c..f96e0a39899 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -5740,7 +5740,7 @@ fs_visitor::optimize() OPT(dead_code_eliminate); } - if (OPT(lower_d2x)) { + if (OPT(lower_conversions)) { OPT(opt_copy_propagation); OPT(dead_code_eliminate); OPT(lower_simd_width); diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 8a5525b786e..e230b5e0dd9 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -161,7 +161,7 @@ public: void lower_uniform_pull_constant_loads(); bool lower_load_payload(); bool lower_pack(); - bool lower_d2x(); + bool lower_conversions(); bool lower_logical_sends(); bool lower_integer_multiplication(); bool lower_minmax(); diff --git a/src/intel/compiler/brw_fs_lower_d2x.cpp b/src/intel/compiler/brw_fs_lower_conversions.cpp similarity index 99% rename from src/intel/compiler/brw_fs_lower_d2x.cpp rename to src/intel/compiler/brw_fs_lower_conversions.cpp index bc316360d05..663c9674c49 100644 --- a/src/intel/compiler/brw_fs_lower_d2x.cpp +++ b/src/intel/compiler/brw_fs_lower_conversions.cpp @@ -44,7 +44,7 @@ supports_type_conversion(const fs_inst *inst) { } bool -fs_visitor::lower_d2x() +fs_visitor::lower_conversions() { bool progress = false; -- 2.30.2