diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2021-12-14 13:37:44 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2021-12-14 13:37:44 -0800 |
commit | c0cdaa7fce4bd023f01812a8023c0e00de12f8bd (patch) | |
tree | 2e6c59e8d4172bc1dcdbc1f847d7151f755fbdfc | |
parent | 6a113a07b9fadae16c8c3db2f9ba1c65edc965d8 (diff) |
fixup! intel/fs: Combine constants for integer instructions toowip/combine-constants
-rw-r--r-- | src/intel/compiler/brw_fs_combine_constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs_combine_constants.cpp b/src/intel/compiler/brw_fs_combine_constants.cpp index 7096f410d02..1a2f55c09d0 100644 --- a/src/intel/compiler/brw_fs_combine_constants.cpp +++ b/src/intel/compiler/brw_fs_combine_constants.cpp @@ -412,7 +412,7 @@ add_candidate_immediate(struct table *table, fs_inst *inst, unsigned ip, v->no_negations = !inst->can_do_source_mods(devinfo) || ((inst->opcode == BRW_OPCODE_SHR || inst->opcode == BRW_OPCODE_ASR) && - type_is_unsigned_int(inst->src[i].type)); + brw_reg_type_is_unsigned_integer(inst->src[i].type)); switch (inst->src[i].type) { case BRW_REGISTER_TYPE_DF: |