On 6/28/25 6:07 AM, Jin Ma wrote:
The current implementation of this function is somewhat difficult to
understand, as it uses a direct break statement within the for loop,
rendering the loop meaningless. Additionally, during the Coverity check
on the for loop, a warning appeared: "unreachable: Since the loop
increment ix++; is unreachable, the loop body will never execute more
than once." Therefore, I have made some simple refactoring to address
these issues.

gcc/ChangeLog:

        * config/riscv/riscv-vsetvl.cc (bitmap_union_of_preds_with_entry):
        Refactor.
OK.  Thanks for cleaning this up.

jeff

Reply via email to