[gcc r14-7163] RISC-V: Update the comments of riscv_v_ext_mode_p [NFC]
Pan Li
panli@gcc.gnu.org
Fri Jan 12 02:59:35 GMT 2024
https://gcc.gnu.org/g:d79629b316f48c45c0a38d10b8fef1a84beceb46
commit r14-7163-gd79629b316f48c45c0a38d10b8fef1a84beceb46
Author: Pan Li <pan2.li@intel.com>
Date: Fri Jan 12 10:49:55 2024 +0800
RISC-V: Update the comments of riscv_v_ext_mode_p [NFC]
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_v_ext_mode_p): Update the
comments of predicate func riscv_v_ext_mode_p.
Signed-off-by: Pan Li <pan2.li@intel.com>
Diff:
---
gcc/config/riscv/riscv.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index df9799d9c5e..f829014a589 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -1361,7 +1361,10 @@ riscv_v_ext_vls_mode_p (machine_mode mode)
return false;
}
-/* Return true if it is either RVV vector mode or RVV tuple mode. */
+/* Return true if it is either of below modes.
+ 1. RVV vector mode.
+ 2. RVV tuple mode.
+ 3. RVV vls mode. */
static bool
riscv_v_ext_mode_p (machine_mode mode)
More information about the Gcc-cvs
mailing list