]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
amdgcn: Comment correction
authorAndrew Stubbs <ams@baylibre.com>
Mon, 4 Mar 2024 15:52:00 +0000 (15:52 +0000)
committerAndrew Stubbs <ams@baylibre.com>
Thu, 21 Mar 2024 13:23:44 +0000 (13:23 +0000)
The location of the marker was changed, but the comment wasn't updated.
Fixed now.

gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_expand_builtin_1): Comment correction.

gcc/config/gcn/gcn.cc

index bc076d1120d9e7d03c9bed23b8df215ae35e442c..fca001811e5dce69d4e056efa902ea6adf47df0a 100644 (file)
@@ -4932,8 +4932,8 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx /*subtarget */ ,
       }
     case GCN_BUILTIN_FIRST_CALL_THIS_THREAD_P:
       {
-       /* Stash a marker in the unused upper 16 bits of s[0:1] to indicate
-          whether it was the first call.  */
+       /* Stash a marker in the unused upper 16 bits of QUEUE_PTR_ARG to
+          indicate whether it was the first call.  */
        rtx result = gen_reg_rtx (BImode);
        emit_move_insn (result, const0_rtx);
        if (cfun->machine->args.reg[QUEUE_PTR_ARG] >= 0)