[PATCH] D155344: [RISCV] Generalize 'tryFoldSelectIntOp` to other operations.
Mikhail Gudim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 15:34:17 PDT 2023
mgudim created this revision.
mgudim added reviewers: craig.topper, asb, reames.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
mgudim requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.
Currently, only `SUB`, `ADD`, `OR` and `XOR` are covered. This patch
adds `AND`, `ADDC`, `ADDE`, `SHL`, `SRA`, `SRL`, `SUBC`, `SUBE`, `FSUB`, `FADD`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155344
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/fold-select-into-binop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155344.540578.patch
Type: text/x-patch
Size: 10366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230714/d04faa7e/attachment.bin>
More information about the llvm-commits
mailing list