Similarly to what GCC does, we should allow scalars with the "v" constraint rather than introducing unnecessary new constraints for scalars in Altivec registers.
Details
Details
- Reviewers
hubert.reinterpretcast saghir - Group Reviewers
Restricted Project - Commits
- rGc9cb8edc519e: [PowerPC] Allow scalars for asm constraint "v" with VSX
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I just had a couple minor comments.
llvm/lib/Target/PowerPC/PPCISelLowering.cpp | ||
---|---|---|
17673 | Is it possible to add a comment to detail what exactly is going on here for future reference? | |
llvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll | ||
3 | I think -ppc-asm-full-reg-names works with the AIX triple now. It would be good to add this option prior to committing. |
Is it possible to add a comment to detail what exactly is going on here for future reference?