intel/compiler: Remove unnecessary local variables
authorMatt Turner <mattst88@gmail.com>
Sun, 1 Mar 2020 00:12:25 +0000 (16:12 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 04:44:11 +0000 (04:44 +0000)
These are already provided in the fs_reg_alloc class.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4093>

src/intel/compiler/brw_fs_reg_allocate.cpp

index 8c16d117bc0c3c5fde964c249450ac1b0a1d9e39..a0eb75244d2b55d99c4d4c7cd246368c365c7c52 100644 (file)
@@ -719,9 +719,6 @@ fs_reg_alloc::setup_inst_interference(fs_inst *inst)
 void
 fs_reg_alloc::build_interference_graph(bool allow_spilling)
 {
-   const gen_device_info *devinfo = fs->devinfo;
-   const brw_compiler *compiler = fs->compiler;
-
    /* Compute the RA node layout */
    node_count = 0;
    first_payload_node = node_count;