[PATCH] D142379: [RISCV] Don't explicitly select X0 in select branch comparisons

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 09:21:47 PST 2023


luke created this revision.
luke added reviewers: asb, craig.topper, reames, luismarques, sjarus.
Herald added subscribers: pmatos, VincentWu, armkevincheng, eric-k256, vkmr, frasercrmck, evandro, 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.
luke requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

At some point the register coalescer seems to have been improved such
that the workaround added in 450edb0b3766 <https://reviews.llvm.org/rG450edb0b376687dc15c62c1c050e2222de7a2902> is no longer needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142379

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoD.td
  llvm/lib/Target/RISCV/RISCVInstrInfoF.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
  llvm/test/CodeGen/RISCV/double-convert.ll
  llvm/test/CodeGen/RISCV/float-select-verify.ll
  llvm/test/CodeGen/RISCV/fpclamptosat.ll
  llvm/test/CodeGen/RISCV/rv32zbb-zbkb.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
  llvm/test/CodeGen/RISCV/shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142379.491419.patch
Type: text/x-patch
Size: 51766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230123/1f6390b5/attachment.bin>


More information about the llvm-commits mailing list