aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2023-04-24 23:18:06 +0200
committerKito Cheng <kito.cheng@sifive.com>2023-07-12 16:05:50 +0800
commite15a82a1fea3a68f47d9a5a8634265eeec1562a8 (patch)
tree821e9df586eb770909b1c0c9373cf73214e37a2d
parent93973e4c5d3bcde1f84cad3b42a8c36e23900d19 (diff)
downloadgcc-e15a82a1fea3a68f47d9a5a8634265eeec1562a8.zip
gcc-e15a82a1fea3a68f47d9a5a8634265eeec1562a8.tar.gz
gcc-e15a82a1fea3a68f47d9a5a8634265eeec1562a8.tar.bz2
riscv: xtheadmempair: Fix doc for th_mempair_order_operands()
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>
-rw-r--r--gcc/config/riscv/thead.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/thead.cc b/gcc/config/riscv/thead.cc
index d7e3cf8..507c912 100644
--- a/gcc/config/riscv/thead.cc
+++ b/gcc/config/riscv/thead.cc
@@ -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)
{