[all-commits] [llvm/llvm-project] ab082b: [RISCV][NFC] Fix RVV intrinsic tests.

Zakk Chen via All-commits all-commits at lists.llvm.org
Mon Mar 22 18:24:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab082b582dd01becc0e0dbb0ff28371e0ce392a9
      https://github.com/llvm/llvm-project/commit/ab082b582dd01becc0e0dbb0ff28371e0ce392a9
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/test/CodeGen/RISCV/rvv-intrinsics-generic/vadd.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-generic/vfadd.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vadd.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfadd.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vle.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vse.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vsetvl.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vsetvlmax.c

  Log Message:
  -----------
  [RISCV][NFC] Fix RVV intrinsic tests.

1. Skip the temporary file
2. Test cc1 with -S to verify codegen work well. Add '-target-feature
   +m' because the backend requires it to calculate the vscaled size/offset.

Reviewed By: craig.topper

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




More information about the All-commits mailing list