brw/cmod: Delete some stale comment text
Stale like the mummified remains of Ötzi, The Iceman. Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34509>
This commit is contained in:
@@ -242,12 +242,10 @@ opt_cmod_propagation_local(const intel_device_info *devinfo, bblock_t *block)
|
||||
(inst->opcode != BRW_OPCODE_CMP || inst->src[1].is_zero()))
|
||||
continue;
|
||||
|
||||
/* Only an AND.NZ can be propagated. Many AND.Z instructions are
|
||||
* generated (for ir_unop_not in brw_shader::emit_bool_to_cond_code).
|
||||
* Propagating those would require inverting the condition on the CMP.
|
||||
* This changes both the flag value and the register destination of the
|
||||
* CMP. That result may be used elsewhere, so we can't change its value
|
||||
* on a whim.
|
||||
/* Only an AND.NZ can be propagated. Propagating AND.Z would require
|
||||
* inverting the condition on the CMP. This changes both the flag value
|
||||
* and the register destination of the CMP. That result may be used
|
||||
* elsewhere, so we can't change its value on a whim.
|
||||
*/
|
||||
if (inst->opcode == BRW_OPCODE_AND &&
|
||||
!(inst->src[1].is_one() &&
|
||||
|
||||
Reference in New Issue
Block a user