[VE] Support smax/smin
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sat, 24 Sep 2022 05:51:07 +0000 (14:51 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 26 Sep 2022 13:02:57 +0000 (22:02 +0900)
commit76c76e9ab40d0c6d53587c81740ec9c6c2fdfcff
treecae33174810890b364f7bad34a5c213f5f0446ba
parentaec908f9b248b27cb44217081c54e2c00604dff7
[VE] Support smax/smin

Support smax/smin in VEInstrInfo.td.  Remove obsolete patterns for
smax/smin.  Add regression tests for smax/smin/umax/umin.

Reviewed By: efocht

Differential Revision: https://reviews.llvm.org/D134583
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/Scalar/atomic.ll
llvm/test/CodeGen/VE/Scalar/smax.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Scalar/smin.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Scalar/umax.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Scalar/umin.ll [new file with mode: 0644]