[llvm] [AArch64][GlobalISel] Add support for widening vector store elements to s8. (PR #121170)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 21:18:20 PST 2025


================
@@ -3022,8 +3022,18 @@ LegalizerHelper::widenScalar(MachineInstr &MI, unsigned TypeIdx, LLT WideTy) {
       return UnableToLegalize;
 
     LLT Ty = MRI.getType(MI.getOperand(0).getReg());
-    if (!Ty.isScalar())
-      return UnableToLegalize;
+    if (!Ty.isScalar()) {
----------------
arsenm wrote:

True

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


More information about the llvm-commits mailing list