aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>2022-12-20 22:51:16 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-12-23 13:41:20 +0800
commit37fd10fd3eb42ea4487d93521a267ba08a9f8575 (patch)
treeda2da2e7495f3b7297f79a5b13d30604284170e8 /gcc/config
parent9374f766a75bf898e717a5bbb58199a91528af0b (diff)
downloadgcc-37fd10fd3eb42ea4487d93521a267ba08a9f8575.zip
gcc-37fd10fd3eb42ea4487d93521a267ba08a9f8575.tar.gz
gcc-37fd10fd3eb42ea4487d93521a267ba08a9f8575.tar.bz2
RISC-V: Remove side effects of vsetvl/vsetvlmax intriniscs in properties
gcc/ChangeLog: * config/riscv/riscv-vector-builtins-bases.cc: Remove side effects.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/riscv/riscv-vector-builtins-bases.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/riscv/riscv-vector-builtins-bases.cc b/gcc/config/riscv/riscv-vector-builtins-bases.cc
index ffeb1b2..75879de 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)