[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
Fri Dec 27 01:29:06 PST 2024


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

This is going to break on the pointer case? 

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


More information about the llvm-commits mailing list