[all-commits] [llvm/llvm-project] c91b3c: [RISCV] Fold (select_cc (setlt X, Y), 0, ne, trueV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Mar 7 09:45:13 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c91b3c9e63c3580348701a81a82740d84d2e5102
https://github.com/llvm/llvm-project/commit/c91b3c9e63c3580348701a81a82740d84d2e5102
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-03-07 (Sun, 07 Mar 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/uadd_sat.ll
M llvm/test/CodeGen/RISCV/uadd_sat_plus.ll
M llvm/test/CodeGen/RISCV/usub_sat.ll
M llvm/test/CodeGen/RISCV/usub_sat_plus.ll
M llvm/test/CodeGen/RISCV/xaluo.ll
Log Message:
-----------
[RISCV] Fold (select_cc (setlt X, Y), 0, ne, trueV, falseV) -> (select_cc X, Y, lt, trueV, falseV)
A setcc can be created during LegalizeDAG after select_cc has been
created. This combine will enable us to fold these late setccs.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D98132
More information about the All-commits
mailing list