[PATCH] D17326: Fix load alignement when unpacking aggregates structs
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 17 11:19:42 PST 2016
majnemer accepted this revision.
majnemer added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:975-976
@@ -962,3 +974,4 @@
};
- auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr, makeArrayRef(Indices), AddrName);
+ auto *Ptr = IC.Builder->CreateInBoundsGEP(ST, Addr,
+ makeArrayRef(Indices), AddrName);
auto *Val = IC.Builder->CreateExtractValue(V, i, EltName);
----------------
Is this clang-formatted?
http://reviews.llvm.org/D17326
More information about the llvm-commits
mailing list