JitStress=1 test make padding offset for local variable.
On ARM32, padding value must support stack alignment.
// Calculate padding
unsigned padding = LCL_FLD_PADDING(lclNum);
+#ifdef _TARGET_ARM_
+ // We need to support alignment requirements to access memory on ARM
+ unsigned alignment = 1;
+ pComp->codeGen->InferOpSizeAlign(tree, &alignment);
+ alignment = roundUp(alignment, TARGET_POINTER_SIZE);
+ padding = roundUp(padding, alignment);
+#endif // _TARGET_ARM_
+
// Change the variable to a TYP_BLK
if (varType != TYP_BLK)
{