[PATCH] D136049: [VE] Change the way to lower selectcc
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 16 17:14:55 PDT 2022
kaz7 created this revision.
kaz7 added a reviewer: efocht.
kaz7 added projects: LLVM, VE.
Herald added a subscriber: hiraditya.
Herald added a project: All.
kaz7 requested review of this revision.
Herald added a subscriber: llvm-commits.
Change to use VEISD::CMPI/CMPU/CMPF/CMPQ and VEISD::CMOV in combineSelectCC
for better optimization. Support VEISD::CMPI/CMPU in combineTRUNCATE also
to optimize truncate. Remove obsolete lower patterns from VEInstrInfo.td.
Update regression tests also.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136049
Files:
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/Scalar/atomic.ll
llvm/test/CodeGen/VE/Scalar/br_cc.ll
llvm/test/CodeGen/VE/Scalar/brind.ll
llvm/test/CodeGen/VE/Scalar/cast.ll
llvm/test/CodeGen/VE/Scalar/ctlz.ll
llvm/test/CodeGen/VE/Scalar/cttz.ll
llvm/test/CodeGen/VE/Scalar/int_to_fp.ll
llvm/test/CodeGen/VE/Scalar/select_cc.ll
llvm/test/CodeGen/VE/Scalar/selectccf32c.ll
llvm/test/CodeGen/VE/Scalar/selectccf32i.ll
llvm/test/CodeGen/VE/Scalar/selectccf64c.ll
llvm/test/CodeGen/VE/Scalar/selectccf64i.ll
llvm/test/CodeGen/VE/Scalar/selectcci32.ll
llvm/test/CodeGen/VE/Scalar/selectcci32c.ll
llvm/test/CodeGen/VE/Scalar/selectcci32i.ll
llvm/test/CodeGen/VE/Scalar/selectcci64.ll
llvm/test/CodeGen/VE/Scalar/selectcci64c.ll
llvm/test/CodeGen/VE/Scalar/selectcci64i.ll
llvm/test/CodeGen/VE/Scalar/smax.ll
llvm/test/CodeGen/VE/Scalar/smin.ll
llvm/test/CodeGen/VE/Scalar/umax.ll
llvm/test/CodeGen/VE/Scalar/umin.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136049.468106.patch
Type: text/x-patch
Size: 122835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/6ab2f5ac/attachment-0001.bin>
More information about the llvm-commits
mailing list