https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104840

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vr...@gcc.gnu.org>:

https://gcc.gnu.org/g:3357878ef56d1e47666fc697cfd7cb5cd9c1dfc9

commit r12-7587-g3357878ef56d1e47666fc697cfd7cb5cd9c1dfc9
Author: Tom de Vries <tdevr...@suse.de>
Date:   Tue Mar 8 13:55:09 2022 +0100

    [nvptx] Use no,yes for attribute predicable

    The documentation states about the predicable instruction attribute:
    ...
    This attribute must be a boolean (i.e. have exactly two elements in its
    list-of-values), with the possible values being no and yes.
    ...

    The nvptx port has instead:
    ...
    (define_attr "predicable" "false,true"
      (const_string "true"))
    ...

    Fix this by updating to:
    ...
    (define_attr "predicable" "no,yes"
      (const_string "yes"))
    ...

    Tested on nvptx.

    gcc/ChangeLog:

    2022-03-08  Tom de Vries  <tdevr...@suse.de>

            PR target/104840
            * config/nvptx/nvptx.md (define_attr "predicable"): Use no,yes
instead
            of false,true.

Reply via email to