[RISCV] Remove the HasSideEffects property from riscv_vector.td
authorCraig Topper <craig.topper@sifive.com>
Tue, 19 Oct 2021 04:34:01 +0000 (21:34 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 19 Oct 2021 04:35:13 +0000 (21:35 -0700)
commit39a1fcb9cf5930eb3931ed0f9b8ef2f50dae4aa5
tree21ed93356c6ddf88dd4e24f9d08fe47d21b750e3
parent34173330bb3f372df0a0d7fd6b639a9812cf77bb
[RISCV] Remove the HasSideEffects property from riscv_vector.td

It was being used to control the nothrow attribute on the builtins. The
nothrow attribute is for C++ exceptions. Even if the vector builtins
have side effects in IR, that's different than the nothrow attribute.

Reviewed By: HsiangKai

Differential Revision: https://reviews.llvm.org/D112028
clang/include/clang/Basic/riscv_vector.td
clang/utils/TableGen/RISCVVEmitter.cpp