projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005fad9
)
RISC-V: Fix wrong in_group flag in validate_change call function
author
Ju-Zhe Zhong
<juzhe.zhong@rivai.ai>
Tue, 3 Jan 2023 07:11:59 +0000
(15:11 +0800)
committer
Kito Cheng
<kito.cheng@sifive.com>
Thu, 26 Jan 2023 18:53:00 +0000
(
02:53
+0800)
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.
gcc/config/riscv/riscv-vsetvl.cc
patch
|
blob
|
history
diff --git
a/gcc/config/riscv/riscv-vsetvl.cc
b/gcc/config/riscv/riscv-vsetvl.cc
index
3b84db3
..
7933644
100644
(file)
--- 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,
tru
e);
+ validate_change (rinsn, &PATTERN (rinsn), new_pat,
fals
e);
if (dump_file)
{