]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
riscv: xtheadmempair: Fix doc for th_mempair_order_operands()
authorChristoph Müllner <christoph.muellner@vrull.eu>
Mon, 24 Apr 2023 21:18:06 +0000 (23:18 +0200)
committerKito Cheng <kito.cheng@sifive.com>
Wed, 12 Jul 2023 08:05:50 +0000 (16:05 +0800)
There is an incorrect sentence in the documentation of the function
th_mempair_order_operands(). Let's remove it.

gcc/ChangeLog:

* config/riscv/thead.cc (th_mempair_operands_p):
Fix documentation of th_mempair_order_operands().

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/config/riscv/thead.cc

index d7e3cf80d9b8a11240104bd233c4f04f8fd5bd2a..507c912bc39a5864f0f6086728315ec30cf999c9 100644 (file)
@@ -336,8 +336,8 @@ th_mempair_operands_p (rtx operands[4], bool load_p,
 }
 
 /* Given OPERANDS of consecutive load/store that can be merged,
-   swap them if they are not in ascending order.
-   Return true if swap was performed.  */
+   swap them if they are not in ascending order.  */
+
 void
 th_mempair_order_operands (rtx operands[4], bool load_p, machine_mode mode)
 {