[all-commits] [llvm/llvm-project] 0278c9: [VE] Change the way to lower select
Kazushi Marukawa via All-commits
all-commits at lists.llvm.org
Fri Oct 14 16:49:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0278c9ceb6c2475f1b1213fcc4ffaf667c6b7731
https://github.com/llvm/llvm-project/commit/0278c9ceb6c2475f1b1213fcc4ffaf667c6b7731
Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
Date: 2022-10-15 (Sat, 15 Oct 2022)
Changed paths:
M llvm/lib/Target/VE/VE.h
M llvm/lib/Target/VE/VEISelDAGToDAG.cpp
M llvm/lib/Target/VE/VEISelLowering.cpp
M llvm/lib/Target/VE/VEISelLowering.h
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/test/CodeGen/VE/Scalar/select.ll
M llvm/test/CodeGen/VE/Scalar/select_cc.ll
Log Message:
-----------
[VE] Change the way to lower select
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.
Reviewed By: efocht
Differential Revision: https://reviews.llvm.org/D135878
More information about the All-commits
mailing list