================
@@ -1329,6 +1329,19 @@ static llvm::Value *CreateCoercedLoad(Address Src,
llvm::Type *Ty,
llvm::TypeSize DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) {
+ if (Ty->isScalableTy() || Ty->isRISCVVectorTupleTy()) {
+ // In RISCV VLS calling convention, struct of fixed vector might be
----------------
topperc wrote:
```suggestion
// In RISC-V VLS calling convention, struct of fixed vector might be
```
https://github.com/llvm/llvm-project/pull/145489
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits