Mesa (main): intel/compiler: drop redundant likely's around INTEL_DEBUG
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 1 08:09:59 UTC 2021
Module: Mesa
Branch: main
Commit: 6229d40fbf421b09c64dcbd2ed02fa2507d4ec9e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6229d40fbf421b09c64dcbd2ed02fa2507d4ec9e
Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date: Thu Sep 30 13:32:20 2021 +0200
intel/compiler: drop redundant likely's around INTEL_DEBUG
They are not needed since 4015e1876a77162e3444eeaa29a0dfbc47efe90e.
Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13115>
---
src/intel/compiler/brw_fs.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index ec251b071f7..5cb72f86d67 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -10431,7 +10431,7 @@ compile_single_bs(const struct brw_compiler *compiler, void *log_data,
bool has_spilled = false;
uint8_t simd_size = 0;
- if (likely(!(INTEL_DEBUG & DEBUG_NO8))) {
+ if (!(INTEL_DEBUG & DEBUG_NO8)) {
v8 = new fs_visitor(compiler, log_data, mem_ctx, &key->base,
&prog_data->base, shader,
8, -1 /* shader time */, debug_enabled);
@@ -10449,7 +10449,7 @@ compile_single_bs(const struct brw_compiler *compiler, void *log_data,
}
}
- if (!has_spilled && likely(!(INTEL_DEBUG & DEBUG_NO16))) {
+ if (!has_spilled && !(INTEL_DEBUG & DEBUG_NO16)) {
v16 = new fs_visitor(compiler, log_data, mem_ctx, &key->base,
&prog_data->base, shader,
16, -1 /* shader time */, debug_enabled);
More information about the mesa-commit
mailing list