[PATCH] D135878: [VE] Change the way to lower select
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 07:40:07 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::CMOV in combineSelect for better optimization.
Support VEISD::CMOV in combineTRUNCATE also to optimize trancate.
Merge functions to handle condition codes to VE.h. And add basic
CMOV patterns to VEInstrInfo.td. Update regression tests also.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135878
Files:
llvm/lib/Target/VE/VE.h
llvm/lib/Target/VE/VEISelDAGToDAG.cpp
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/Scalar/select.ll
llvm/test/CodeGen/VE/Scalar/select_cc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135878.467468.patch
Type: text/x-patch
Size: 30419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221013/f1170426/attachment-0001.bin>
More information about the llvm-commits
mailing list