commit | 69008a07a6c8d2a6a653cc28a68d779d672af560 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Tue Dec 18 09:29:39 2018 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Tue Dec 18 09:29:39 2018 +0000 |
tree | e6c18f4ab0a6b55c5fdad7a774f23318d378b014 | |
parent | 563dd25b0e4b96d850be61064e9c884b45b233f9 [diff] |
SROA: preserve alignment tags on loads and stores. When splitting up an alloca's uses we were dropping any explicit alignment tags, which means they default to the ABI-required default alignment and this can cause miscompiles if the real value was smaller. Also refactor the TBAA metadata into a parent class since it's shared by both children anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349465 91177308-0d34-0410-b5e6-96231b3b80d8