public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4865] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
@ 2022-12-23  5:42 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2022-12-23  5:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:37fd10fd3eb42ea4487d93521a267ba08a9f8575

commit r13-4865-g37fd10fd3eb42ea4487d93521a267ba08a9f8575
Author: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Date:   Tue Dec 20 22:51:16 2022 +0800

    RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
    
    gcc/ChangeLog:
    
            * config/riscv/riscv-vector-builtins-bases.cc: Remove side effects.

Diff:
---
 gcc/config/riscv/riscv-vector-builtins-bases.cc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.cc b/gcc/config/riscv/riscv-vector-builtins-bases.cc
index ffeb1b25fbc..75879dea25a 100644
--- a/gcc/config/riscv/riscv-vector-builtins-bases.cc
+++ b/gcc/config/riscv/riscv-vector-builtins-bases.cc
@@ -53,11 +53,6 @@ template<bool VLMAX_P>
 class vsetvl : public function_base
 {
 public:
-  unsigned int call_properties (const function_instance &) const
-  {
-    return CP_READ_CSR | CP_WRITE_CSR;
-  }
-
   rtx expand (function_expander &e) const override
   {
     if (VLMAX_P)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-23  5:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23  5:42 [gcc r13-4865] RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties 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).