Store and loads unpacked by instcombine do not always have the right alignement. This explicitely compute the alignement and set it.
Actually, some last minute questions came up...
|548 ↗||(On Diff #48158)|
I think it'd be more obvious if you used DL.getABITypeAlignment(ST) here seeing as how the langref defines the load's alignment using the language: A value of 0 or an omitted align argument means that the operation has the ABI alignment for the target.