public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5405] RISC-V: Fix wrong in_group flag in validate_change call function
@ 2023-01-26 19:12 Kito Cheng
0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-01-26 19:12 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:011ba384b343e99bb86eb3ac86c7628c4cd98f8b
commit r13-5405-g011ba384b343e99bb86eb3ac86c7628c4cd98f8b
Author: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Date: Tue Jan 3 15:11:59 2023 +0800
RISC-V: Fix wrong in_group flag in validate_change call function
Since we only change insn which is not in group. The flag currently is not correct.
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.cc (change_insn): Adjust in_group in validate_change.
Diff:
---
gcc/config/riscv/riscv-vsetvl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv-vsetvl.cc b/gcc/config/riscv/riscv-vsetvl.cc
index 3b84db39199..79336447deb 100644
--- a/gcc/config/riscv/riscv-vsetvl.cc
+++ b/gcc/config/riscv/riscv-vsetvl.cc
@@ -787,7 +787,7 @@ change_insn (rtx_insn *rinsn, rtx new_pat)
print_rtl_single (dump_file, PATTERN (rinsn));
}
- validate_change (rinsn, &PATTERN (rinsn), new_pat, true);
+ validate_change (rinsn, &PATTERN (rinsn), new_pat, false);
if (dump_file)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-26 19:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 19:12 [gcc r13-5405] RISC-V: Fix wrong in_group flag in validate_change call function Kito Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).