[gcc(refs/vendors/ibm/heads/perf)] RISC-V: Fix testsuite regression due to recent IRA changes.
Jiu Fu Guo
guojiufu@gcc.gnu.org
Thu Mar 19 06:09:51 GMT 2020
https://gcc.gnu.org/g:120070973425d785734837c06800dba3da4d1ac3
commit 120070973425d785734837c06800dba3da4d1ac3
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Fri Mar 6 16:30:48 2020 +0800
RISC-V: Fix testsuite regression due to recent IRA changes.
Diff:
---
gcc/testsuite/ChangeLog | 4 ++++
gcc/testsuite/gcc.target/riscv/pr93304.c | 7 +++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 09d59730730..6c9206aeb27 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-06 Kito Cheng <kito.cheng@sifive.com>
+
+ * gcc.target/riscv/pr93304.c: Update expected output and comment.
+
2020-03-06 Delia Burduv <delia.burduv@arm.com>
* gcc.target/aarch64/advsimd-intrinsics/bfcvt-compile.c: New test.
diff --git a/gcc/testsuite/gcc.target/riscv/pr93304.c b/gcc/testsuite/gcc.target/riscv/pr93304.c
index f771e4859a9..248f205e0d2 100644
--- a/gcc/testsuite/gcc.target/riscv/pr93304.c
+++ b/gcc/testsuite/gcc.target/riscv/pr93304.c
@@ -13,7 +13,6 @@ foo (void)
/* Register rename will try to use registers from the lower register
regradless of the REG_ALLOC_ORDER.
- In theory, t0-t6 should not used in such small program if regrename
- not executed incorrectly, because a5-a0 has higher priority in
- REG_ALLOC_ORDER. */
-/* { dg-final { scan-assembler-not "t\[0-6\]" } } */
+ In theory, t2 should not used in such small program if regrename
+ not executed incorrectly, because t0-a2 should be enough. */
+/* { dg-final { scan-assembler-not "t2" } } */
More information about the Gcc-cvs
mailing list