[all-commits] [llvm/llvm-project] b1b22b: [RISCV][Clang] Support policy functions for vneg, ...

Zakk Chen via All-commits all-commits at lists.llvm.org
Tue Aug 2 10:31:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1b22b4a85ac3593a41d9127b91985866d69cfd7
      https://github.com/llvm/llvm-project/commit/b1b22b4a85ac3593a41d9127b91985866d69cfd7
  Author: Zakk Chen <zakkc at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfabs.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfneg.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vncvt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vneg.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnot.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwcvt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfabs.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfneg.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vncvt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vneg.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vnot.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vwcvt.c

  Log Message:
  -----------
  [RISCV][Clang] Support policy functions for vneg, vnot, vncvt, vwcvt,
vwcvtu, vfabs and vfneg.

We will switch all UndefValue to PoisonValue in follow up patches.

Reviewed By: kito-cheng

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


  Commit: 7eddeb9e99f36d907295a2ed75244d39e1e41e33
      https://github.com/llvm/llvm-project/commit/7eddeb9e99f36d907295a2ed75244d39e1e41e33
  Author: Zakk Chen <zakkc at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vcompress.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vcompress.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c

  Log Message:
  -----------
  [RISCV][Clang] Support policy functions for vmerge, vfmerge and
vcompress.

We will switch all UndefValue to PoisonValue in follow up patches.

Reviewed By: kito-cheng

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


  Commit: 9caf2cc05c02300c06e2405ff3606d5aa8cf773d
      https://github.com/llvm/llvm-project/commit/9caf2cc05c02300c06e2405ff3606d5aa8cf773d
  Author: Zakk Chen <zakkc at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfeq.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfgt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfle.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmflt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfne.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmseq.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsle.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmslt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsne.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmfeq.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmfge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmfgt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmfle.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmflt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmfne.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmseq.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsgt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsle.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmslt.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsne.c

  Log Message:
  -----------
  [RISCV][Clang] Support policy functions for Vector Comparison
Instructions.

We will switch all UndefValue to PoisonValue in follow up patches.

Reviewed By: kito-cheng

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


  Commit: dffdca85ec2d17ce751adca1a851bc4458973e57
      https://github.com/llvm/llvm-project/commit/dffdca85ec2d17ce751adca1a851bc4458973e57
  Author: Zakk Chen <zakkc at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/lib/Support/RISCVVIntrinsicUtils.cpp
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmax.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmin.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredand.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmax.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmin.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredor.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredxor.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfredmax.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfredmin.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfwredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredand.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredmax.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredmin.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredor.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredsum.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vredxor.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vwredsum.c
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [RISCV][Clang] Support policy functions for Vector Reduction
Instructions.

We will switch all UndefValue to PoisonValue in follow up patches.

Thanks for Kito to help on verification with their interanl testsuite.

Reviewed By: kito-cheng

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


  Commit: bb99d4b11d84ae178d9ea3ea2c9da4d4c2e1eafc
      https://github.com/llvm/llvm-project/commit/bb99d4b11d84ae178d9ea3ea2c9da4d4c2e1eafc
  Author: Zakk Chen <zakkc at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vid.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/viota.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbf.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsif.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsof.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vid.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/viota.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsbf.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsif.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmsof.c

  Log Message:
  -----------
  [RISCV][Clang] Support policy functions for Vector Mask Instructions.

We will switch all UndefValue to PoisonValue in follow up patches.

Reviewed By: kito-cheng

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


Compare: https://github.com/llvm/llvm-project/compare/d884eb2bcef6...bb99d4b11d84


More information about the All-commits mailing list