[PowerPC][NFC] Add a series of codegen tests for vector reductions.
authorStefan Pintilie <stefanp@ca.ibm.com>
Mon, 15 Nov 2021 21:26:30 +0000 (15:26 -0600)
committerStefan Pintilie <stefanp@ca.ibm.com>
Fri, 19 Nov 2021 21:03:01 +0000 (15:03 -0600)
commite9d12c248013b2d2b9880436727857e0ec8a7085
tree15acf94ea645815639667645f520b51efe611bd8
parente059329b835aac1b93d764811b23c3cfd8b856c7
[PowerPC][NFC] Add a series of codegen tests for vector reductions.

This patch only adds tests for PowerPC. The purpose of these tests
is to track what code is generated for various vector reductions.

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D113801
13 files changed:
llvm/test/CodeGen/PowerPC/vector-reduce-add.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-and.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-fadd.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-fmax.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-fmin.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-fmul.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-mul.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-or.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-smax.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-smin.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-umax.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-umin.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/vector-reduce-xor.ll [new file with mode: 0644]