[PATCH] D154768: [CSKY] Optimize conditional branch and value select with BTSTI

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 00:16:20 PDT 2023


zixuan-wu added inline comments.


================
Comment at: llvm/lib/Target/CSKY/CSKYInstrInfo.td:1251
 let Predicates = [iHas2E3] in {
   def : Pat<(setne GPR:$rs1, GPR:$rs2),
             (CMPNE32 GPR:$rs1, GPR:$rs2)>;
----------------
can this opt also applied here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154768/new/

https://reviews.llvm.org/D154768



More information about the llvm-commits mailing list