[all-commits] [llvm/llvm-project] 39a1fc: [RISCV] Remove the HasSideEffects property from ri...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Oct 18 21:41:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39a1fcb9cf5930eb3931ed0f9b8ef2f50dae4aa5
      https://github.com/llvm/llvm-project/commit/39a1fcb9cf5930eb3931ed0f9b8ef2f50dae4aa5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list