[PATCH] D113635: [PowerPC] Allow scalars for asm constraint "v" with VSX

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 17:48:09 PST 2021


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

Similarly to what GCC does, we should allow scalars with the "v" constraint rather than introducing unnecessary new constraints for scalars in Altivec registers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113635

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113635.386380.patch
Type: text/x-patch
Size: 9326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/6b3aa99d/attachment.bin>


More information about the llvm-commits mailing list