Hexagon (target/hexagon) Clean up pred_written usage
authorTaylor Simpson <tsimpson@quicinc.com>
Thu, 27 Apr 2023 22:59:59 +0000 (15:59 -0700)
committerTaylor Simpson <tsimpson@quicinc.com>
Thu, 18 May 2023 19:40:52 +0000 (12:40 -0700)
commit25e1d87d1041a27c1f34480b53059faeb6600fef
tree576b6915c7e2745fabc87ca670c53b42fa6fab5b
parentd24f0b2b89d0f4f595a1b62c00c4c951d1d5fce9
Hexagon (target/hexagon) Clean up pred_written usage

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 mark it with G_GNUC_UNUSED.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230427230012.3800327-9-tsimpson@quicinc.com>
target/hexagon/genptr.c
target/hexagon/translate.c