File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -25031,8 +25031,17 @@ bool RISCVTargetLowering::fallBackToDAGISel(const Instruction &Inst) const {
25031
25031
25032
25032
if (auto *II = dyn_cast<IntrinsicInst>(&Inst)) {
25033
25033
// Mark RVV intrinsic as supported.
25034
- if (RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(II->getIntrinsicID()))
25034
+ if (RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(II->getIntrinsicID())) {
25035
+ // GISel doesn't support tuple types yet.
25036
+ if (Inst.getType()->isRISCVVectorTupleTy())
25037
+ return true;
25038
+
25039
+ for (unsigned i = 0; i < II->arg_size(); ++i)
25040
+ if (II->getArgOperand(i)->getType()->isRISCVVectorTupleTy())
25041
+ return true;
25042
+
25035
25043
return false;
25044
+ }
25036
25045
}
25037
25046
25038
25047
if (Inst.getType()->isScalableTy())
You can’t perform that action at this time.
0 commit comments