qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/21] Hexagon (target/hexagon) Clean up pred_written usage


From: Richard Henderson
Subject: Re: [PATCH 08/21] Hexagon (target/hexagon) Clean up pred_written usage
Date: Wed, 26 Apr 2023 22:23:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 4/26/23 01:42, Taylor Simpson wrote:
Only endloop instructions will conditionally write to a predicate.
When there is an endloop instruction, we preload the values into
new_pred_value.

The only place pred_written is needed is when HEX_DEBUG is on.

We remove the last use of check_for_attrib.  However, new uses will be
introduced later in this series, so we change it to "static inline".

This is insufficient -- clang will warn about unused inline functions within the main C file (as opposed to #included).

Use __attribute__((unused)) instead, and remove it when it gains new 
unconditional uses.

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]