[PATCH] D98159: [RISCV] Add RISCVISD::BR_CC similar to RISCVISD::SELECT_CC.
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 15 01:38:07 PDT 2021
luismarques accepted this revision.
luismarques added a comment.
This revision is now accepted and ready to land.
LGTM.
(Perhaps it would have been better to have split it into the NFC patch and the rest?)
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:4268
+ N->getOperand(3), N->getOperand(4));
+ // (br_cc X, 1, setne, br_cc) ->
+ // (br_cc X, 0, seteq, br_cc) if we can prove X is 0/1.
----------------
Add empty line before?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98159/new/
https://reviews.llvm.org/D98159
More information about the llvm-commits
mailing list