[PATCH] D64119: [PowerPC] Support constraint code "ww"
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 18:49:08 PDT 2019
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:14080
return std::make_pair(0U, &PPC::VSRCRegClass);
- } else if (Constraint == "ws" && Subtarget.hasVSX()) {
+ } else if ((Constraint == "ws" || Constraint == "ww") && Subtarget.hasVSX()) {
if (VT == MVT::f32 && Subtarget.hasP8Vector())
----------------
jsji wrote:
> Should we exclude `FP` for `ws` and return `VFRCRegClass` instead of `VSFRCRegClass` ?
Can you elaborate on what I should do? I'm not familiar with the register info stuff...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64119/new/
https://reviews.llvm.org/D64119
More information about the cfe-commits
mailing list