[PATCH] D142120: [PowerPC] Fix float materialization patterns.

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 07:49:51 PST 2023


stefanp created this revision.
stefanp added reviewers: nemanjai, lei, amyk.
Herald added subscribers: shchenz, kbarton, hiraditya, qcolombet.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.

Two of the float materialization patterns use the VSSRC regsiter class. This
register class is not available before Power 8. The patterns will stay the same
for Power 8 and up but must use the class F4RC for Power 7 and earlier.

This patch fixes those patterns.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142120

Files:
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/ppc-float-spill.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142120.490515.patch
Type: text/x-patch
Size: 13999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230119/ea0fa866/attachment.bin>


More information about the llvm-commits mailing list