HomePhabricator

Fix load alignement when unpacking aggregates structs

Authored by Amaury Sechet <deadalnix@gmail.com> on Feb 17 2016, 11:21 AM.

Description

Fix load alignement when unpacking aggregates structs

Summary: Store and loads unpacked by instcombine do not always have the right alignement. This explicitely compute the alignement and set it.

Reviewers: dblaikie, majnemer, reames, hfinkel, joker.eph

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D17326

llvm-svn: 261139

Event Timeline

Amaury Sechet <deadalnix@gmail.com> committed rG61a7d629ecc1: Fix load alignement when unpacking aggregates structs (authored by Amaury Sechet <deadalnix@gmail.com>).Feb 17 2016, 11:21 AM