[PATCH] D152602: [RISCV] Don't use (ADD (SLLI C, 32), C) to materialize constants when optimizing for size.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 18:47:41 PDT 2023
craig.topper created this revision.
craig.topper added reviewers: reames, asb, luismarques, dtcxzyw.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, 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.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
Addresses post-commit feedback from D152236 <https://reviews.llvm.org/D152236>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152602
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/imm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152602.530131.patch
Type: text/x-patch
Size: 12877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/d50004a9/attachment.bin>
More information about the llvm-commits
mailing list