[llvm] [AArch64] Fix lowring error for masked load/store integer scalable ve… (PR #99354)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 08:52:37 PDT 2024


================
@@ -6912,32 +6911,30 @@ SDValue DAGTypeLegalizer::WidenVecOp_MSTORE(SDNode *N, unsigned OpNo) {
   SDValue Mask = MST->getMask();
   EVT MaskVT = Mask.getValueType();
   SDValue StVal = MST->getValue();
+  EVT VT = StVal.getValueType();
   SDLoc dl(N);
 
   if (OpNo == 1) {
     // Widen the value.
     StVal = GetWidenedVector(StVal);
-
-    // The mask should be widened as well.
+    // The mask should be widened as well
----------------
sdesmalen-arm wrote:

nit unnecessary whitespace change. please revert to what it was.

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


More information about the llvm-commits mailing list