public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Kito Cheng <kito@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5405] RISC-V: Fix wrong in_group flag in validate_change call function Date: Thu, 26 Jan 2023 19:12:05 +0000 (GMT) [thread overview] Message-ID: <20230126191205.B1D3A3858413@sourceware.org> (raw) 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) {
reply other threads:[~2023-01-26 19:12 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230126191205.B1D3A3858413@sourceware.org \ --to=kito@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).