[PATCH] D110106: RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for and/or/xor.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 20 13:53:18 PDT 2021
craig.topper created this revision.
craig.topper added reviewers: frasercrmck, spatel.
Herald added subscribers: vkmr, evandro, 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, asb, hiraditya.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
This requires a minor change to CodeGenPrepare to ensure that
shouldSinkOperands will be called for And.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110106
Files:
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110106.373705.patch
Type: text/x-patch
Size: 9769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/b8f12aa7/attachment.bin>
More information about the llvm-commits
mailing list