[all-commits] [llvm/llvm-project] cebbfd: [RISCV] Add index check for vset/vget

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Wed Mar 30 04:30:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cebbfd3d255552b48cb3681a326bcbd23aaca1ec
      https://github.com/llvm/llvm-project/commit/cebbfd3d255552b48cb3681a326bcbd23aaca1ec
  Author: wangpc <pc.wang at linux.alibaba.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vget-index-out-of-range.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vset-index-out-of-range.c

  Log Message:
  -----------
  [RISCV] Add index check for vset/vget

Index of vset/vget must be a constant integer and be
located in right range.

Reviewed By: kito-cheng

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




More information about the All-commits mailing list