[PATCH] D91629: [PowerPC] Handle FP physical register in inline asm constraint.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 07:06:56 PST 2020


sfertile created this revision.
sfertile added reviewers: nemanjai, ZarkoCA, cebowleratibm.
sfertile added a project: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
sfertile requested review of this revision.

Do not defer to the base class when the register constraint is a physical fpr. The base class will select SPILLTOVSX as the register class and register allocation will fail on subtargets without VSX registers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91629

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/inline-asm-physical-fpr-spe.ll
  llvm/test/CodeGen/PowerPC/inline-asm-physical-fpr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91629.305771.patch
Type: text/x-patch
Size: 4484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201117/b884f6ab/attachment.bin>


More information about the llvm-commits mailing list