================ @@ -52,6 +52,12 @@ class AMDGPUABIInfo final : public DefaultABIInfo { void computeInfo(CGFunctionInfo &FI) const override; RValue EmitVAArg(CodeGenFunction &CGF, Address VAListAddr, QualType Ty, AggValueSlot Slot) const override; + + llvm::FixedVectorType * + getOptimalVectorType(llvm::FixedVectorType *T, + const LangOptions &) const override { + return T; ---------------- arsenm wrote:
With a direct instruction, yes. We can't widen the stores in the other odd cases so we need the hint that it's OK by using the wider type https://github.com/llvm/llvm-project/pull/104661 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits