RISC-V: Add riscv-vsetvl.def to t-riscv

Message ID 20230822230650.1383987-1-juzhe.zhong@rivai.ai
State Accepted
Headers
Series RISC-V: Add riscv-vsetvl.def to t-riscv |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

juzhe.zhong@rivai.ai Aug. 22, 2023, 11:06 p.m. UTC
  This patch will be backport to GCC 13 and commit to trunk.
gcc/ChangeLog:

        * config/riscv/t-riscv: Add riscv-vsetvl.def

---
 gcc/config/riscv/t-riscv | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gcc/config/riscv/t-riscv b/gcc/config/riscv/t-riscv
index 1252d6f851a..f3ce66ccdd4 100644
--- a/gcc/config/riscv/t-riscv
+++ b/gcc/config/riscv/t-riscv
@@ -62,7 +62,8 @@  riscv-vsetvl.o: $(srcdir)/config/riscv/riscv-vsetvl.cc \
   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
   $(TARGET_H) tree-pass.h df.h rtl-ssa.h cfgcleanup.h insn-config.h \
   insn-attr.h insn-opinit.h tm-constrs.h cfgrtl.h cfganal.h lcm.h \
-  predict.h profile-count.h $(srcdir)/config/riscv/riscv-vsetvl.h
+  predict.h profile-count.h $(srcdir)/config/riscv/riscv-vsetvl.h \
+  $(srcdir)/config/riscv/riscv-vsetvl.def
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 		$(srcdir)/config/riscv/riscv-vsetvl.cc