[PATCH] D17326: Fix load alignement when unpacking aggregates structs

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 22:24:17 PST 2016


deadalnix created this revision.
deadalnix added reviewers: dblaikie, majnemer, reames, hfinkel, joker.eph.
deadalnix added a subscriber: llvm-commits.

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

http://reviews.llvm.org/D17326

Files:
  lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  test/Transforms/InstCombine/unpack-fca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17326.48150.patch
Type: text/x-patch
Size: 4558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160217/198333b5/attachment.bin>


More information about the llvm-commits mailing list