A setcc can be created during LegalizeDAG after select_cc has been
created. This combine will enable us to fold these late setccs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D98132
[RISCV} Fold (select_cc (setlt X, Y), 0, ne, trueV, falseV) -> (select_cc X, Y, lt, trueV, falseV) ClosedPublic Authored by craig.topper on Mar 6 2021, 5:46 PM.
Details Summary A setcc can be created during LegalizeDAG after select_cc has been
Diff Detail
Event TimelineHerald added subscribers: StephenFan, vkmr, frasercrmck and 23 others. · View Herald TranscriptMar 6 2021, 5:46 PM This revision is now accepted and ready to land.Mar 7 2021, 7:03 AM This revision was landed with ongoing or failed builds.Mar 7 2021, 9:45 AM Closed by commit rGc91b3c9e63c3: [RISCV] Fold (select_cc (setlt X, Y), 0, ne, trueV, falseV) -> (select_cc X, Y… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 328827 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/uadd_sat.ll
llvm/test/CodeGen/RISCV/uadd_sat_plus.ll
llvm/test/CodeGen/RISCV/usub_sat.ll
llvm/test/CodeGen/RISCV/usub_sat_plus.ll
llvm/test/CodeGen/RISCV/xaluo.ll
|
clang-format not found in user's PATH; not linting file.