[PATCH] D150950: MachineCombiner/RISCV: add test for register pressure

Ramkumar Ramachandra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 03:08:40 PDT 2023


artagnon created this revision.
artagnon added reviewers: craig.topper, asb, reames, shiva0217.
Herald added subscribers: luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
artagnon requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

In preparation for a patch, add a test for MachineCombiner in RISC-V
CodeGen, where the MachineBasicBlock has 33 live registers (just above
the general-purpose register limit of 32 on RISC-V). Since
MachineCombiner kicks in, it leads to increased register pressure,
resulting in spills. The next patch will turn off MachineCombiner for
this case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150950

Files:
  llvm/test/CodeGen/RISCV/machine-combiner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150950.523709.patch
Type: text/x-patch
Size: 55260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/0ad22671/attachment.bin>


More information about the llvm-commits mailing list