[all-commits] [llvm/llvm-project] a5c350: [RISCV] Require tail policy argument to builtins t...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Oct 11 09:55:22 PDT 2021


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

  Changed paths:
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [RISCV] Require tail policy argument to builtins to be an integer constant expression

The IR intrinsics use ImmArg for the policy operand so this needs to be enforced as a constant in the frontend.

Differential Revision: https://reviews.llvm.org/D110779




More information about the All-commits mailing list