[clang] [Clang] Remove 3-element vector load and store special handling (PR #104661)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 01:49:07 PST 2025


================
@@ -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:

We only want to preserve this for the 96-bit cases where we have legal instructions 

https://github.com/llvm/llvm-project/pull/104661


More information about the cfe-commits mailing list